Skip to content

Conversation

@khwilliamson
Copy link
Contributor

@khwilliamson khwilliamson commented Dec 5, 2024

There really is no good option for continuing a pattern match when we discover that something is illegal UTF-8. This changes to die when that happens.

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

@khwilliamson khwilliamson marked this pull request as draft December 6, 2024 04:49
@khwilliamson khwilliamson changed the title regmatch: Use new utf8_to_uv; not utf8_to_uvchr_buf regmatch: Use new utf8_to_uv Mar 18, 2025
@khwilliamson khwilliamson marked this pull request as ready for review March 18, 2025 15:34
@jkeenan
Copy link
Contributor

jkeenan commented Mar 19, 2025

This needs review by @demerphq or someone else familiar with regex engine.

@khwilliamson khwilliamson added the defer-next-dev This PR should not be merged yet, but await the next development cycle label Apr 24, 2025
@jkeenan jkeenan removed the defer-next-dev This PR should not be merged yet, but await the next development cycle label Jul 3, 2025
@jkeenan
Copy link
Contributor

jkeenan commented Jul 3, 2025

This needs review by @demerphq or someone else familiar with regex engine.

5.43.0 has been released; development on this p.r. may resume.

There really is no good option for continuing a pattern match when we
discover that something is illegal UTF-8.  This changes to die when that
happens.
@khwilliamson khwilliamson merged commit 9c39a33 into Perl:blead Jul 24, 2025
33 checks passed
@khwilliamson khwilliamson deleted the regmatch branch August 9, 2025 19:05
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.

2 participants