Avatar for the unjs user
unjs
magic-regexp
BlogDocsChangelog

Performance History

Latest Results

fix(wrap): wrap concatenated groups so quantifiers apply to whole expression wrap skipped grouping whenever a string merely started with ( and ended with ), treating concatenations of multiple groups such as (?:a|b)(?:1|2) as a single already-wrapped group. As a result maybe()/oneOrMore() appended their quantifier to only the last group, e.g. producing (?:a|b)(?:1|2)? instead of (?:(?:a|b)(?:1|2))?. Detect whether the first group actually encloses the whole string via a balanced-paren scan (accounting for escapes and character classes) and only then skip the extra wrapping. Fixes #505 Fixes #549 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
EduardF1:fix/maybe-wrap-concatenated-groups
4 hours ago
chore(deps): update github/codeql-action digest to 7211b7c
renovate/github-codeql-action-digest
25 days ago
chore(deps): update codecov/codecov-action digest to e79a696
renovate/codecov-codecov-action-digest
26 days ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(wrap): wrap concatenated groups so quantifiers apply to whole expression#710
4 hours ago
7b1a0c3
EduardF1:fix/maybe-wrap-concatenated-groups
CodSpeed Performance Gauge
0%
ci: migrate release workflow to uppt#708
18 days ago
94091e9
uppt
CodSpeed Performance Gauge
0%
25 days ago
bde5b30
renovate/github-codeql-action-digest
© 2026 CodSpeed Technology
Home Terms Privacy Docs