In Firefox 67 I plan to ship String.prototype.matchAll. It's behind a Nightly-only #ifdef right now (since December).
Volunteer contributor André Bargull wrote our implementation of this feature. Tests too. Thank him if you see him. ## Standards Proposal (with examples and rationale): https://github.com/tc39/proposal-string-matchall Specification: https://tc39.github.io/proposal-string-matchall/ This feature is at Stage 3 in the TC39 process. The spec is complete and no significant changes are expected. The main hurdle left before standardization is compatible shipping implementations. TC39 process explainer: https://tc39.github.io/process-document/ ## Tracking bugs Implementation: https://bugzilla.mozilla.org/show_bug.cgi?id=1435829 Enable by default: https://bugzilla.mozilla.org/show_bug.cgi?id=1531830 ## MDN Documentation wanted. You can help: https://bugzilla.mozilla.org/show_bug.cgi?id=1435829#c35 ## Support in other browsers / JS engines Enabled by default in Chrome 73. JSCore (Safari) bug here: https://bugs.webkit.org/show_bug.cgi?id=186694 ## Test coverage More than you can shake a stick at. https://searchfox.org/mozilla-central/source/js/src/tests/test262/built-ins/String/prototype/matchAll https://searchfox.org/mozilla-central/source/js/src/tests/test262/built-ins/RegExp/prototype/Symbol.matchAll https://searchfox.org/mozilla-central/source/js/src/tests/test262/built-ins/RegExpStringIteratorPrototype https://searchfox.org/mozilla-central/source/js/src/tests/non262/String/matchAll.js -j _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform