On Mar 26, 2012, at 11:57 PM, Erik Corry wrote:
> Add /U to mean old-style regexp literals in Harmony code (analogous to
> /s and /S which have opposite meanings).

Are we sure this has enough utility to be worth adding? - it seems unlikely 
that programmers are going to often have cause to explicitly opt-out of correct 
unicode support (since little consideration usually seems to be given to this 
topic), and as discussed previously, a mechanism to do so already exists if 
they need it (RegExp("foo") will behave the same as the proposed /foo/U).  If 
we do add a 'U' flag, I'd worry that it may end up more commonly being used in 
error when people intended to append a 'u'!

cheers,
G.

  
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to