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
- The repository
slevithan/regex-utilitiesappears actively worked on, with an upstream push timestamp on 2026-02-27, though the most recent versionedupdatesshown here are from 2024-08. - Based on the provided
updates, the apparent version cadence was short-lived, with v2.2.0 on 2024-08-11 and v2.3.0 on 2024-08-31 (about 20 days apart), but there is no evidence in the provided list of additional versionedupdatesafter 2024-08.
AI summary generated Today
Recent updates
v2.3.0
8/31/2024Release 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
8/11/2024Version v2.2.0 primarily adds TypeScript support by including TypeScript declarations. This improves developer experience for TypeScript users, including editor autocomplete and type checking.
Features