Back to Explore

slevithan/regex-utilities

GitHub
1 watchersOpen source

Last release: 8/31/2024

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-utilities appears actively worked on, with an upstream push timestamp on 2026-02-27, though the most recent versioned updates shown 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 versioned updates after 2024-08.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.3.0

    8/31/2024

    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`.

    Features
  • v2.2.0

    8/11/2024

    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.

    Features