Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Regex woes...by adamsj (Hermit) |
on Jul 09, 2001 at 03:55 UTC ( [id://94868]=note: print w/replies, xml ) | Need Help?? |
And that raises an interesting point, which probably has a trivial answer which I don't know. Why doesn't a construct like \d{1-3} make -w scream?
Even more oddly, if it's reversed to say \d{3-1}, it neither makes -w scream nor does it DWIM and match, say, -12.3, like it would if it were \d{2}. They laughed at Joan of Arc, but she went right ahead and built it. --Gracie Allen
In Section
Seekers of Perl Wisdom
|
|