/\1/ could be a valid RegExp through Chapter 16 Extension clause?

Gavin Barraclough barraclough at apple.com
Thu Jul 7 14:58:51 PDT 2011

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 Chrome12.
> I do believe it should be false

Yep, this is our understanding too (and we agree with the same results).


More information about the es-discuss mailing list