in reply to Re: RegEx - match !foo followed by foo
in thread RegEx - match !foo followed by foo

LOL - you think you've got it bad, this wasn't even my specification, and the guy doing that actual spec. had absolutely no idea what he was asking for (or at least was incapable of expressing it).

It was like asking a 2-year old for the plot of "The Tale of Peter Rabbit" - they just say "rabbits" over and over again...

Yeah, in my spec. the "or @" is spurious (and the whole @ is something of a red herring). In RealLife(tm) 'gonk' can either be 'gonk' or @ at all stages (the actual strings are '|' or '\.br\')

Anyway, Corion's final solution got me there... I'd get him to give you a few perl-lessons, he obviously knows way more than you ;)

Tom Melly, tom@tomandlu.co.uk
  • Comment on Re^2: RegEx - match !foo followed by foo

Replies are listed 'Best First'.
Re^3: RegEx - match !foo followed by foo
by kwaping (Priest) on Mar 16, 2006 at 15:29 UTC
    Extra ++ for a good sense of humor. :)

    ---
    It's all fine and dandy until someone has to look at the code.