Repository navigation
2.0.0
What's Changed
Breaking Changes
- Native JavaScript replacement semantics by default:
replaceAllandreplaceFirstnow use native ECMAScript replacement semantics by default ($$escapes a dollar sign, and\is treated literally). - Legacy Java mode opt-in: If you relied on the previous Java-style escaping (where
\escapes special characters and throws exceptions on invalid capture groups), you must now explicitly pass true for the newjavaModeflag (e.g.,replaceAll(replacement, true))
Full Changelog: 1.3.3...2.0.0