in reply to Re: Re: How to map a directory tree to a perl hash tree
in thread How to map a directory tree to a perl hash tree

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.)

japhy -- Perl and Regex Hacker

  • Comment on Re: Re: Re: How to map a directory tree to a perl hash tree