hiddenlinux has asked for the wisdom of the Perl Monks concerning the following question:
my %spec = ( fullname => qr/^ [a-zA-Z\s'-] {3,30} \z/x, username => qr/^ [a-z] [-.\w]{2,15} \z/x, mothers => qr/^ [a-zA-Z\s'-] {3,30} \z/x, email => qr/^ [\w\.-]+ \@ (?:[a-z\d-]+\.)+ [a-z\d]+ \z/ix, conditions => qr/^Yes\z/, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex Hell
by sauoq (Abbot) on Jul 08, 2003 at 20:30 UTC | |
by hiddenlinux (Acolyte) on Jul 08, 2003 at 21:27 UTC | |
by sauoq (Abbot) on Jul 08, 2003 at 21:45 UTC | |
|
Re: Regex Hell
by Cody Pendant (Prior) on Jul 08, 2003 at 21:26 UTC | |
by merlyn (Sage) on Jul 08, 2003 at 21:38 UTC | |
by Cody Pendant (Prior) on Jul 09, 2003 at 00:53 UTC | |
|
Re: Regex Hell
by Molt (Chaplain) on Jul 09, 2003 at 11:35 UTC |