You mentioned finite automata in your subject line, though. Am I missing something else here? ;)if ($string =~ /^[a-z]+$/) { print "Valid\n"; } else { print "Invalid\n"; }
Cheers,
Paul
In reply to Re: finite automata
by pjf
in thread finite automata
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |