RegExps that don't modify global state?

Allen Wirfs-Brock allen at wirfs-brock.com
Wed Sep 17 09:34:42 PDT 2014


On Sep 17, 2014, at 8:59 AM, Andrea Giammarchi wrote:

> FWIW that 's' flag would work for me, but about not being specd, those properties are described already here:
> https://people.mozilla.org/~jorendorff/es6-draft.html#sec-getreplacesubstitution

that doesn't say anything about RegExp properties, their attributes, when they're set, etc.  It just defines how to interpret a replacement string template.

> 
> and these are a long time de-facto standard. "somebody" wrote already about them a while ago:
> http://msdn.microsoft.com/en-us/library/ie/9dthzd08(v=vs.94).aspx


Not spec. worthy material. Plus somebody needs to do an interoperable semantics intersection analysis cross the major browsers.

allen



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140917/c25bb7d9/attachment.html>


More information about the es-discuss mailing list