tc39 / proposal-regexp-legacy-features

Legacy static properties of the RegExp constructor in JavaScript
Creative Commons Zero v1.0 Universal
41 stars 13 forks source link

Convince browser vendors to implement this #10

Open claudepache opened 8 years ago

claudepache commented 8 years ago

This is the ultimate goal. #9 may help.

Chrome, Edge and Firefox already have subclassable RegExp in their stable version, and Safari will do it soon. Therefore, it would be good to have an implementation rapidly.

claudepache commented 8 years ago

Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1306461

evilpie commented 6 years ago

What is the status for this in browsers other than Firefox? Are there open bugs for this?

chicoxyzzy commented 5 years ago

It's implemented almost everywhere. Any plans on moving this proposal to stage 4?

claudepache commented 5 years ago

@chicoxyzzy Mozilla bug mentioned two comments above is still open. Do you have references for other implementations?

chicoxyzzy commented 5 years ago

We have passing tests for Chrome, Safari and Firefox in https://kangax.github.io/compat-table/esnext/. Our test suite there is not complete though and I wasn't able to find tracking bugs in chromium tracker and webkit bugzilla, so I could be wrong. Also I found that test262 tests are not complete yet too https://github.com/tc39/test262/issues/2371