in reply to Re: Regular expression question
in thread Regular expression question

You are one evil, sick, and twisted individual.

Just thought someone should let you know.

++

update:lol


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi


Replies are listed 'Best First'.
Re: Re: Re: Regular expression question
by BrowserUk (Patriarch) on Jan 15, 2004 at 23:45 UTC

    Your right. I should have added a little more whitespace to clarify things :)

    $re = qr[ ( the (?{ $rep = 'The' }) | quick (?{ $rep = 'Quick' }) | brown (?{ $rep = 'Brown' }) | fox (?{ $rep = 'Fox' }) ) ]x;

    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    Timing (and a little luck) are everything!