[whatwg] Web Forms 2.0 Substantial - Section 2
Ian Hickson
ian at hixie.ch
Thu Jun 24 06:25:58 PDT 2004
On Thu, 24 Jun 2004, 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.
If you have /m, ^ and $ match the edges of each _line_, not each string.
so /^.*$/m matches blank lines (such as "\n\n" in the example you gave,
Hallvord). So we don't want multiline at all. I've removed that from the
spec. Please pardon my momentary insanity. :-)
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list