On 22 Nov 2013, at 11:20, Allen Wirfs-Brock <al...@wirfs-brock.com> wrote:

> Did you check the ES6 draft grammar{1]?  The answer to that should be fairly 
> obvious there and if it isn't it would be good to know so we can try to make 
> it clearer in the spec.
> 
> [1]: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-patterns 

It’s pretty clear that (1) is equivalent to (2). I guess (3) is equivalent to 
(1) and (2) because of the following:

    RegExpUnicodeEscapeSequence[U] ::
        [+U] LeadSurrogate \u TrailSurrogate

…but I was looking for confirmation.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to