I think id be inclined to not use /[a-z]/i, I personally think the below is easier to read.
my $fullname = qr/\A[[:alpha:]]{1,30}\z/; my $username = qr/\A[[:alpha:]]\w{2,16}\z/;
TIMTOWTDI
In reply to Re: Re: Reasonable RegExps
by demerphq
in thread Reasonable RegExps
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |