RegExps that don't modify global state?

Brendan Eich brendan at
Tue Sep 16 23:22:08 PDT 2014

Jussi Kalliokoski wrote:
> Unicode flag disabling features to enable parallelism is another 
> footnote for WTFJS.

A bit overdone, but I agree on this point.

A separate flag per regexp, and/or a way to opt-out of RegExp.$foo 
altogether, seem better.

More information about the es-discuss mailing list