Skip to content

support regexp buffer boundaries - #554

Open
sno2 wants to merge 1 commit into
bellard:masterfrom
sno2:regexp-buffer-boundaries
Open

support regexp buffer boundaries#554
sno2 wants to merge 1 commit into
bellard:masterfrom
sno2:regexp-buffer-boundaries

Conversation

@sno2

@sno2 sno2 commented Aug 25, 2026

Copy link
Copy Markdown

Hello, this implements the stage 3 RegExp Buffer Boundaries proposal: https://github.com/tc39/proposal-regexp-buffer-boundaries

I tested against this test262 PR: tc39/test262#4975

There were two failing tests from ./run-test262 -c test262.conf and ./run-test262-debug -c test262.conf:

test262/test/built-ins/RegExp/unicode_restricted_identity_escape_alpha.js:17: unexpected error: Test262Error: IdentityEscape in AtomEscape: 'A' Expected a SyntaxError to be thrown but no exception was thrown at all
test262/test/language/module-code/namespace/internals/super-access-to-tdz-binding.js:32: unexpected error: Test262Error: Expected a ReferenceError but got a TypeError
Result: 50/43781 errors, 3382 excluded, 6102 skipped, 2 new

The first failure is a test that had not been updated to allow these new escapes, so I have left a note on the test262 PR: tc39/test262#4975 (comment). The second seems to be a new test that is unrelated to my changes.

I have not updated the test262 commit in this repository because the test262 PR has not been merged yet.

Closes #544

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.

Support for RegExp buffer boundaries

1 participant