RegExps that don't modify global state?
concavelenz at gmail.com
Sat Sep 20 23:11:30 PDT 2014
I wanted to mention the global state of regexs prevent the elimination of
otherwise dead code by optimizers. Which is unfortunate. I personally have
fixed a number of bugs where a regex overwrote the global state. It is a
On Sep 17, 2014 8:58 PM, "Viktor Mukhachev" <addslashes at yandex.ru> wrote:
> `lastIndex` also prevents usage of one instance in parallel...
> not so beatiful...
> the idea to "deprecate" lastIndex was proposed 4 years ago:
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss