Skip to content

regexec.c: Use utf8_to_uv_or_die over utf8n_to_uvchr #23560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 17, 2025

Conversation

khwilliamson
Copy link
Contributor

This will now die if the input is malformed. We decided for 5.42 that it is pointless to continue on in pattern matching in the face of malformed input. This was the final occurrence of a to_uvchr() function in this file; the rest were converted for 5.42. This was deferred because of the lateness of the development cycle, and it didn't fix an obvious bug

  • This set of changes does not require a perldelta entry.

This will now die if the input is malformed.  We decided for 5.42 that
it is pointless to continue on in pattern matching in the face of
malformed input.  This was the final occurrence of a to_uvchr() function
in this file; the rest were converted for 5.42.  This was deferred
because of the lateness of the development cycle, and it didn't fix an
obvious bug
@khwilliamson khwilliamson merged commit f60e301 into Perl:blead Aug 17, 2025
33 checks passed
@khwilliamson khwilliamson deleted the nregrepeat branch August 17, 2025 15:55
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.

1 participant