- From: Hallvord Reiar Michaelsen Steen <hallvors@online.no>
- Date: Fri, 25 Jun 2004 19:48:03 +0200
On 24 Jun 2004 at 13:25, Ian Hickson wrote: > > Ok now I'm really confused. It's like ".*" sometimes matches newlines > > and sometimes doesn't. Am I missing something obvious here?: > > Nevermind, I had completely misread the spec. Ouch. I'm really sorry to have confused you - I got the "m" and "s" flags mixed up. /s is used in PHP and Perl's regexp to make . match newlines and there isn't an equivalent in ECMAScript. Apologies! At least we got something clarified in the spec as a direct result of our shared confusion :-p -- Hallvord Reiar Michaelsen Steen hallvors at online.no / www.hallvord.com
Received on Friday, 25 June 2004 10:48:03 UTC