Skip to content

Fix nested counted RegExp repetition - #5585

Closed
mansiverma897993 wants to merge 1 commit into
boa-dev:mainfrom
mansiverma897993:fix-regex-counted-repetition
Closed

mansiverma897993 wants to merge 1 commit into
boa-dev:mainfrom
mansiverma897993:fix-regex-counted-repetition

Conversation

@mansiverma897993

@mansiverma897993 mansiverma897993 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #5574.

Pins the regress nested-loop backtracking fix and adds a Boa regression test.

Test report:

  • New regression test failed before the fix and passes after it.
  • cargo test -p boa_engine --no-default-features --lib: 1,111 passed.
  • cargo fmt --all --check: passed.
  • All required CI checks passed; benchmark job skipped by workflow.

Full pre-push CI was unavailable locally because cargo-make is not installed.

@mansiverma897993
mansiverma897993 requested a review from a team as a code owner October 15, 2026 10:43
@github-actions github-actions Bot added the Waiting On Review Waiting on reviews from the maintainers label Oct 15, 2026
@github-actions github-actions Bot added this to the v0.23 milestone Oct 15, 2026
@github-actions github-actions Bot added C-Dependencies Pull requests that update a dependency file C-Tests Issues and PRs related to the tests. C-Builtins PRs and Issues related to builtins/intrinsics labels Oct 15, 2026
@github-actions

Copy link
Copy Markdown

Test262 conformance changes

Test result main count PR count difference
Total 53,578 53,578 0
Passed 51,450 51,450 0
Ignored 1,648 1,648 0
Failed 480 480 0
Panics 0 0 0
Conformance 96.03% 96.03% 0.00%

Tested main commit: f0789a20d87ad52eef6460953929c2b3cdbf8716
Tested PR commit: 4dfc9ede5f9a2c2a1ab6de4fee462eb6f27e1d4e
Compare commits: f0789a2...4dfc9ed

@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.03%. Comparing base (6ddc2b4) to head (4dfc9ed).
⚠️ Report is 1074 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5585       +/-   ##
===========================================
+ Coverage   47.24%   63.03%   +15.79%     
===========================================
  Files         476      536       +60     
  Lines       46892    60538    +13646     
===========================================
+ Hits        22154    38160    +16006     
+ Misses      24738    22378     -2360     

☔ View full report in Codecov by Harness.
📢 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.

@jedel1043

Copy link
Copy Markdown
Member

Since this is a regress issue, collaborate with them and get your contribution in before opening a PR here.

Also no need to add a test for that in here if the test can be covered in regress' test suite.

@jedel1043 jedel1043 closed this Oct 16, 2026
@github-actions github-actions Bot removed the Waiting On Review Waiting on reviews from the maintainers label Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Builtins PRs and Issues related to builtins/intrinsics C-Dependencies Pull requests that update a dependency file C-Tests Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

regex counted repetition misses a valid match

2 participants