laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: How to map a directory tree to a perl hash treeby japhy (Canon) |
on Mar 11, 2001 at 09:56 UTC ( [id://63590]=note: print w/replies, xml ) | Need Help?? |
I don't think so -- that would stop me from being able to point out the errors in a regex my own way.
I add the (?:...) around it for several reasons. First, to honor any of the /imsx switches you have on. Second, so that the regex has ONE root node (easier to parse). Third, so the regex is "its own regex". (That third reason is probably lame.)
In Section
Seekers of Perl Wisdom
|
|