Skip to content

Conversation

@n-faria
Copy link
Contributor

@n-faria n-faria commented Nov 27, 2025

Draft PR, do not merge yet

This implements the TC39 Stage 4 proposal for duplicate named capturing groups in regular expressions.

This Pull Request fixes/closes #4442.

It changes the following:

-Implementation is in the regress crate (ridiculousfish/regress#136).
See ridiculousfish/regress#136
Once that PR is merged and a new version is published, this PR will be updated with the regress version bump
-That is the only change required, testing was done locally already
-Test cases already exist and are marked as EsNext

This implements the TC39 Stage 4 proposal for duplicate named capturing
groups in regular expressions.

Implementation is in the regress crate (ridiculousfish/regress#136).
Once that PR is merged and a new version is published, this PR will be
updated with the regress version bump.

Fixes boa-dev#4442
@github-actions
Copy link

Test262 conformance changes

Test result main count PR count difference
Total 50,747 50,747 0
Passed 47,877 47,877 0
Ignored 2,060 2,060 0
Failed 810 810 0
Panics 0 0 0
Conformance 94.34% 94.34% 0.00%

@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.06%. Comparing base (6ddc2b4) to head (961c291).
⚠️ Report is 605 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4550      +/-   ##
==========================================
+ Coverage   47.24%   57.06%   +9.82%     
==========================================
  Files         476      504      +28     
  Lines       46892    57548   +10656     
==========================================
+ Hits        22154    32842   +10688     
+ Misses      24738    24706      -32     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement duplicated named capturing groups proposal

1 participant