in reply to Re: //s modifier
in thread //s modifier

I don't think that the two regexes are equivalent. The first one matches <title>resultados\n\n\n</title> the second doesn't.

Replies are listed 'Best First'.
Re^3: //s modifier
by Melly (Chaplain) on Mar 21, 2006 at 12:04 UTC

    Sorry - should have said "similiar to" ;)

    Anyway, my real bad was saying he'd need one of the modifiers to ever hope on matching a multi-line regex... what was I thinking? (well, I know what I was thinking - got in a muddle over iterating, line-by-line, through a file, etc.).

    Tom Melly, tom@tomandlu.co.uk