Update Acornima to 1.3.0 and enable RegExp modifiers#2322
Merged
Conversation
Co-authored-by: lahma <171892+lahma@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update Acornima to version 1.3.0 and enable experimental feature
Update Acornima to 1.3.0 and enable RegExp modifiers
Mar 10, 2026
Collaborator
|
@copilot how many more tests are now passing, four excluded now, how many unexcluded |
Contributor
Author
It’s 128 more passing tests. The blanket feature exclusion is gone, and there are 6 file-level exclusions left, which show up as 12 skipped cases because Test262 runs them in both strict and non-strict modes. So for |
4 tasks
This was referenced Mar 12, 2026
This was referenced Jun 8, 2026
This was referenced Jun 29, 2026
This was referenced Jul 7, 2026
This was referenced Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates Jint to Acornima 1.3.0 and turns on Acornima's new experimental RegExp modifiers support. It also removes the broad Test262 exclusion for
regexp-modifiersand keeps only the remaining file-level skips that still reflect .NET regex semantic differences.Dependency update
AcornimaandAcornima.Extrasto1.3.0.Parser feature enablement
ExperimentalESFeatures.RegExpModifiersto Jint's base Acornima parser options so the new syntax is accepted consistently across script/module parsing and runtime regexp adaptation.Test262 coverage expansion
regexp-modifiersexclusion.\b/\B\w/\WRegression coverage
new RegExp(...).Example of the newly enabled syntax:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.