in reply to Re: Regex question
in thread Regex question

Nice idea, however surely the regex parser in Perl would optimise to that anyway, wouldn't it?

Update: Your method does however offer the advantage of allowing me to find file with a greater length. I'll just use the > 250 bit

Replies are listed 'Best First'.
Re^3: Regex question
by BioLion (Curate) on Aug 04, 2009 at 14:38 UTC

    I don't know - I also don't know whether using .(dot) to match long strings like that would also be expensive, because of how many things could match such a 'loose' regex. But i am out of my depth here, i freely admit to not knowing enough about the inner workings of regexes...

    Just a something something...