@eslint-community/regexpp is a regular expression parser and validator for ECMAScript, providing APIs to parse regex literals into an AST and to validate literals, patterns, and flags. It also includes an AST visitor utility for walking parsed regular expression nodes, useful for tools and linters that need to analyze regex structure safely.
Project status
- The source (eslint-community/regexpp) appears actively maintained, with the most recent upstream push on 2025-10-23 and multiple tagged updates in late 2024 and 2025.
- The apparent update cadence is roughly annual for the v4.12.x line, with v4.12.2 (2025-10-22) following v4.12.1 (2024-10-28) about a year later, and v4.12.1 arriving shortly after v4.12.0 (2024-10-27).
AI summary generated Today
Recent updates
v4.12.2
7 months agov4.12.2 contains what the release notes describe as Unicode data updates (“updates unicode resource with latest”). The code changes confirm this, and additionally introduce new Unicode property data for ES2026.
v4.12.1
10/28/2024v4.12.1 is a small bug fix release. It adjusts the regex flag validation logic so that the `d` (d flag) is treated as invalid for ES2021. The update is backed by new/updated test fixtures.
v4.12.0
10/27/2024v4.12.0 adds support for inline regular expression group modifiers. It introduces new AST node types for modifier blocks and integrates them into the parser, validator, and visitor traversal.
BreakingFeaturesv4.11.2
10/25/2024This release (v4.11.2) is described as a single bug fix related to generating npm provenance statements during the publish process. The provided diff, however, also includes GitHub Actions workflow permission changes and adds multiple new Test262 parser fixture files.
v4.11.1
9/14/2024v4.11.1 primarily regenerates Unicode data used by the library, refreshing identifier and Unicode property tables. The release notes only mention the Unicode resource update, but the diff also shows additional data/property expansion and a tooling dependency change.
v4.11.0
6/28/2024v4.11.0 adds parsing and validation support for ES2025 duplicate named capturing groups. The implementation also refactors how duplicate group names and backreference resolution are represented in the internal AST, and updates the library’s notion of the latest ECMAScript version to 2025.
Featuresv4.10.1
6/3/2024v4.10.1 is a small release focused on updating the bundled Unicode resource data. The release notes only mention a Unicode data update, but the code diff shows additional internal structural and tooling changes.
v4.10.0
10/25/2023v4.10.0 adds a new public export for `RegExpSyntaxError`. The implementation also refactors how syntax errors are constructed internally, including changing the `RegExpSyntaxError` constructor signature and introducing a helper used by `RegExpValidator`.
Featuresv4.9.1
10/2/2023v4.9.1 is a small patch release that fixes a character class AST typing issue (“wrong character class parent type”). It also includes Unicode property validation changes that reorganize where some logic lives in the codebase, plus a few development dependency bumps.
v4.9.0
9/27/2023Release v4.9.0 updates regexpp's Unicode identifier data to align with Unicode v15.1. The change is implemented as regenerated Unicode ID range data used by the library when classifying code points for identifier rules.
Features