v5.0.0
This library was renamed from just regex
to Regex+, to make it easier to refer to the library and its regex flavor. The package and tag name remain regex
as before, so this has no effect on code.
Version 5 is a minor update with small breaking changes that won't affect most people.
🚨 Breaking
- Type files (
d.ts
) were moved from./types
to./dist/esm
and./dist/cjs
. - The undocumented
./atomic
export added in v4.4.0 was renamed as./internals
.
🚀 Features
RegExpSubclass
was made available via./internals
.
🐞 Fixes
- Type resolution works correctly when using the library as CommonJS. (#29, @tao-cumplido)
- When using option
subclass
and flagd
, resulting subpattern indices are adjusted to account for emulation groups.