# What changed in string.prototype.matchall

> 6 changes in string.prototype.matchall 4 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-22. HTML: https://unstale.sh/npm/string.prototype.matchall/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## string.prototype.matchall 4

### Fixes and other changes

- Uses RegExpCreate instead of the RegExp constructor to create the fallback regex. (4.1.0) — [release notes](https://github.com/es-shims/String.prototype.matchAll/blob/ca6d63503c901168b9d81cebc73fa63edf1f81b6/CHANGELOG.md#v410---2026-08-28)
- Reads the flags property only when the environment's getter can be trusted. (4.1.0) — [release notes](https://github.com/es-shims/String.prototype.matchAll/blob/ca6d63503c901168b9d81cebc73fa63edf1f81b6/CHANGELOG.md#v410---2026-08-28)
- Stringifies flags exactly once. (4.1.0) — [release notes](https://github.com/es-shims/String.prototype.matchAll/blob/ca6d63503c901168b9d81cebc73fa63edf1f81b6/CHANGELOG.md#v410---2026-08-28)
- Treats the v flag as implying full unicode. (4.1.0) — [release notes](https://github.com/es-shims/String.prototype.matchAll/blob/ca6d63503c901168b9d81cebc73fa63edf1f81b6/CHANGELOG.md#v410---2026-08-28)
- Only inspects regexpOrPattern when it is an Object, avoiding inspection of non-object arguments. (4.1.0) — [release notes](https://github.com/es-shims/String.prototype.matchAll/blob/ca6d63503c901168b9d81cebc73fa63edf1f81b6/CHANGELOG.md#v410---2026-08-28)
- Does not substitute the Symbol.matchAll polyfill when there is no matcher. (4.1.0) — [release notes](https://github.com/es-shims/String.prototype.matchAll/blob/ca6d63503c901168b9d81cebc73fa63edf1f81b6/CHANGELOG.md#v410---2026-08-28)
