|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: regex challengedby redgreen (Deacon) |
| on Oct 07, 2009 at 20:21 UTC ( #799805=note: print w/ replies, xml ) | Need Help?? |
|
Besides using placeholders as moritz said, it is always easier to test for characters you want allowed (a known set) in a regex, rather then trying to come up with what isn't allowed (an unknown large set).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||