# remove nested comments
1 while ($string =~ s/\([^()]*\)//g);
+ #$string =~ s/^\s+//;
+ #$string =~ s/\s+$//;
return ($string =~ /^$email[0]$/) unless $strict;
<Variable name="name">name</Variable>
<Variable name="maxlength">60</Variable>
<Variable name="minlength">2</Variable>
+ <Variable name="type">name</Variable>
<Variable name="errorType">repeat</Variable>
</Property>
#
(my $val_ww = $val) =~ s/\s+//g;
+ $val_ww =~ y/a-zA-Z//cd
+ if (exists ($formdata -> {$name {$_}} -> {type}) and $formdata -> {$name {$_}} -> {type} eq 'name');
+
if (length $val_ww < $formdata -> {$name {$_}} -> {minlength}) {
$self -> {error} = {
spec => 'too_short',