2011/7/7 Lasse Reichstein reichsteinatw...@gmail.com:
On Thu, Jul 7, 2011 at 3:52 AM, Mike Samuel mikesam...@gmail.com wrote:
Yes, by the extension, and whether a \octal is a backreference or an
octal escape sequence is determined by whether there are
parseInt(octal, 10) capturing groups to
2011/7/7 Mike Samuel mikesam...@gmail.com:
Interestingly other perl 5 interpreters
other perl 5 interpreters - other perl 5 style regex libraries
___
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
CC'ing Gavin as he's been looking at RegExp compatibility in the real world vs.
the spec recently.
--Oliver
On Jul 7, 2011, at 12:17 PM, Mike Samuel wrote:
2011/7/7 Lasse Reichstein reichsteinatw...@gmail.com:
On Thu, Jul 7, 2011 at 3:52 AM, Mike Samuel mikesam...@gmail.com wrote:
On Thu, 07 Jul 2011 21:17:17 +0200, Mike Samuel mikesam...@gmail.com
wrote:
One way to tell whether the group initialized to empty works on an
interpreter is to test
/^(?:\1x(y)x){2}$/.test(xyxyxyx)
which is true in most interpreters, but false in Rhino1.7 and Chrome12.
I do believe it
On Jul 7, 2011, at 2:40 PM, Lasse Reichstein wrote:
On Thu, 07 Jul 2011 21:17:17 +0200, Mike Samuel mikesam...@gmail.com wrote:
One way to tell whether the group initialized to empty works on an
interpreter is to test
/^(?:\1x(y)x){2}$/.test(xyxyxyx)
which is true in most interpreters,
On Jul 7, 2011, at 2:40 PM, Lasse Reichstein wrote:
On Thu, 07 Jul 2011 21:17:17 +0200, Mike Samuel
One way to tell whether the group initialized to empty works on an
interpreter is to test
/^(?:\1x(y)x){2}$/.test(xyxyxyx)
which is true in most interpreters, but false in Rhino1.7 and
2011/7/7 Brendan Eich bren...@mozilla.com:
On Jul 7, 2011, at 2:40 PM, Lasse Reichstein wrote:
On Thu, 07 Jul 2011 21:17:17 +0200, Mike Samuel mikesam...@gmail.com wrote:
One way to tell whether the group initialized to empty works on an
interpreter is to test
On Jul 7, 2011, at 2:59 PM, Mike Samuel wrote:
Agreed.
Would that mean that
/^(?:\1x(y)x){2}$/.test(xyxxyx) !/^(?:\1x(y)x){2}$/.test(xyxyxyx)
If so, V8 agrees with that, the species of monkey in FF 5 does not,
the JsCore in Safari 533.21 does not, and Rhino does.
Yes. This is
2011/7/7 Gavin Barraclough barraclo...@apple.com:
On Jul 7, 2011, at 2:59 PM, Mike Samuel wrote:
Agreed.
Would that mean that
/^(?:\1x(y)x){2}$/.test(xyxxyx) !/^(?:\1x(y)x){2}$/.test(xyxyxyx)
If so, V8 agrees with that, the species of monkey in FF 5 does not,
the JsCore in Safari
On Jul 7, 2011, at 3:27 PM, Gavin Barraclough wrote:
On Jul 7, 2011, at 2:59 PM, Mike Samuel wrote:
Agreed.
Would that mean that
/^(?:\1x(y)x){2}$/.test(xyxxyx) !/^(?:\1x(y)x){2}$/.test(xyxyxyx)
If so, V8 agrees with that, the species of monkey in FF 5 does not,
the JsCore in
On Jul 7, 2011, at 3:34 PM, Mike Samuel wrote:
2011/7/7 Gavin Barraclough barraclo...@apple.com:
On Jul 7, 2011, at 2:59 PM, Mike Samuel wrote:
Agreed.
Would that mean that
/^(?:\1x(y)x){2}$/.test(xyxxyx) !/^(?:\1x(y)x){2}$/.test(xyxyxyx)
If so, V8 agrees with that, the species
var x = /\1/;
According to 15.10.2.11, the RegExp snippet above should throw something as
there aren't any capturing parenthesis within the RegExp, yet one is
referenced. Just now noticed that step 4 of 15.10.2.9 is more precise and
shows a SyntaxError gets thrown. Isn't the
On Jul 6, 2011, at 4:35 PM, Dave Fugate wrote:
var x = /\1/;
According to 15.10.2.11, the RegExp snippet above should throw something as
there aren’t any capturing parenthesis within the RegExp, yet one is
referenced. Just now noticed that step 4 of 15.10.2.9 is more
2011/7/6 Dave Fugate dfug...@microsoft.com:
var x = /\1/;
According to 15.10.2.11, the RegExp snippet above should throw something as
there aren’t any capturing parenthesis within the RegExp, yet one is
referenced. Just now noticed that step 4 of 15.10.2.9 is more precise
14 matches
Mail list logo