in reply to Re: You learn something every day
in thread You learn something every day

aha, but @patterns didn't contain just strings, it was full of all sort of regular expression trickery. Show me a hash lookup that'll work for that!

Jasp

Also, just in case anyone thought cow-orker really was a type, don't you read Dilbert?

Replies are listed 'Best First'.
Re: Re: Re: You learn something every day
by demerphq (Chancellor) on Aug 05, 2003 at 07:17 UTC

    The use of /^(...)$/ lead me to believe it was simply strings. If @patterns is fully regexes then why not build the final regex only once with qr//?


    ---
    demerphq

    <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...