"be consistent" | |
PerlMonks |
Re: Stumped by regexby reasonablekeith (Deacon) |
on Dec 06, 2006 at 15:05 UTC ( [id://588102]=note: print w/replies, xml ) | Need Help?? |
Does it _need_ to be one regex? You might be better of checking the length first? Something like this...?
UPDATE: See replies....
By the way, your character restriction doesn't work because you can match up to three characters in one go within the parentheses, so your upper limit here is actually 60.
--- my name's not Keith, and I'm not reasonable.
In Section
Seekers of Perl Wisdom
|
|