Questions regarding ES6 Unicode regular expressions

Norbert Lindenberg ecmascript at
Tue Aug 26 11:16:59 PDT 2014

On Aug 26, 2014, at 10:01 , Allen Wirfs-Brock <allen at> wrote:

> So, here is a summary of my proposal:

> 3) Reserve within /u RegExp patterns, the syntax \p{<characters>} and \P{<characters>}

This was already decided by TC39 at the March 2012 meeting, and if I read the spec correctly, it’s already specified:

IdentityEscape[U] ::
    [+U] SyntaxCharacter
    [~U] SourceCharacter but not IdentifierPart
    [~U] <ZWJ>
    [~U] <ZWNJ>


More information about the es-discuss mailing list