cargo / regex
regex
What changed in regex 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
5 breaking
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initregex 15 changes
Breaking changes 5
The impl was removed, formally removing the public dependency on regex-syntax.
The minimum supported Rust version is now 1.20; the notes tentatively permit raising it in minor releases, but not patch releases.
Octal syntax is disabled by default and can be re-enabled via the corresponding option on RegexBuilder, allowing better error messages about unavailable backreferences.
This expression is no longer allowed in Unicode regexes because it can match at invalid UTF-8 code unit boundaries.
A new feature was added and enabled by default; disabling it results in a compilation error.