Provides tiny JavaScript regex syntax helpers, useful when you want to process regex text without building a full regex parser or AST. Includes utilities to find, replace, and iterate over unescaped matches within specified regex contexts, plus helpers like extracting group contents.
Project status
- Actively maintained is not fully confirmable from the provided release notes, but the GitHub source shows an upstream push on 2026-02-27, indicating ongoing activity.
- Update cadence looks irregular based on the provided release history, with published updates last shown in Aug 2024 (v2.2.0 and v2.3.0), and no further releases described in the feed after that, even though there was a push in early 2026.
AI summary generated
Recent updates
v2.3.0
Release v2.3.0 adds an extended details object to the replacement/callback APIs for `replaceUnescaped` and `forEachUnescaped`, including the match context (DEFAULT vs CHAR_CLASS) and whether the match occurred in a negated character class. It also adds a top-level `types` entry to `package.json` and renames an internal reserved regex capture used for skipping from `skip` to `$skip`.
Featuresv2.2.0
Version v2.2.0 primarily adds TypeScript support by including TypeScript declarations. This improves developer experience for TypeScript users, including editor autocomplete and type checking.
Featuresv2.1.0
Release v2.1.0 was published on 2024-07-22, but no release notes were provided by the publisher. As a result, this release cannot be reliably assessed for API compatibility changes, bug fixes, security updates, or dependency changes based on the provided information alone.