Re: [whatwg] Web Forms: pattern attribute

2006-08-15 Thread Ian Hickson
On Mon, 3 Apr 2006, Michel Fortin wrote: Something about the pattern attribute in Web Forms got me thinking: The regular expression language used for this attribute is the same as that defined in [ECMA262], except that the pattern attribute implies a ^ at the start of the pattern and a $

Re: [whatwg] Web Forms: pattern attribute

2006-04-22 Thread Dean Edwards
Michel Fortin wrote: Le 3 avr. 2006 à 19:33, Dean Edwards a écrit : Michel Fortin wrote: Does that mean that a pattern attribute like foo|bar should translate to /^foo|bar$/ ? Wouldn't it make more sense it it was /^(foo|bar)$/ with the parentesis? You have a point. Would implied

Re: [whatwg] Web Forms: pattern attribute

2006-04-04 Thread Michel Fortin
Le 3 avr. 2006 à 19:33, Dean Edwards a écrit : Michel Fortin wrote: Does that mean that a pattern attribute like foo|bar should translate to /^foo|bar$/ ? Wouldn't it make more sense it it was /^ (foo|bar)$/ with the parentesis? You have a point. Would implied parentheses cause any side

[whatwg] Web Forms: pattern attribute

2006-04-03 Thread Michel Fortin
Something about the pattern attribute in Web Forms got me thinking: The regular expression language used for this attribute is the same as that defined in [ECMA262], except that the pattern attribute implies a ^ at the start of the pattern and a $ at the end (so the pattern must match the

Re: [whatwg] Web Forms: pattern attribute

2006-04-03 Thread Dean Edwards
Michel Fortin wrote: Something about the pattern attribute in Web Forms got me thinking: The regular expression language used for this attribute is the same as that defined in [ECMA262], except that the pattern attribute implies a ^ at the start of the pattern and a $ at the end (so the