Skip to content

Conversation

@kddnewton
Copy link
Collaborator

When you have a regular expression that has a named capture that has an escape sequence in the named capture, and that escape sequence is a unicode escape sequence with an invalid surrogate pair, the error was attached to the owned string as opposed to a location on the shared source.

Fixes #3805

When you have a regular expression that has a named capture that
has an escape sequence in the named capture, and that escape
sequence is a unicode escape sequence with an invalid surrogate
pair, the error was attached to the owned string as opposed to a
location on the shared source.
@kddnewton kddnewton merged commit d96470d into main Dec 15, 2025
64 checks passed
@kddnewton kddnewton deleted the escape-error-location branch December 15, 2025 11:38
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.

Assertion failure in pm_ptrdifft_to_u32

2 participants