The stupid question is the question not asked | |
PerlMonks |
Re: Redundant regex ([0-9]{2} | [0-9] {2, 4})?by ikegami (Patriarch) |
on Feb 26, 2009 at 22:42 UTC ( [id://746694]=note: print w/replies, xml ) | Need Help?? |
No, /[0-9]{2} / does not match a subset of what / [0-9] {2, 4}/ matches. /[0-9]{2} / only matches "99\x{20}", where 9 can by any digit 0-9
Update: Fixed copy and paste bug in in second item.
In Section
Seekers of Perl Wisdom
|
|