Skip to content

Enable unicode modifier in regex patterns - #1103

Merged
ahl merged 1 commit into
oxidecomputer:mainfrom
TvdW:unicode
Nov 13, 2026
Merged

ahl merged 1 commit into
oxidecomputer:mainfrom
TvdW:unicode

Conversation

@TvdW

@TvdW TvdW commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Draft 2020-12 is more explicit about the requirement, but even in Draft 7 patterns are expected to be applied on the unicode characters, not the underlying bytes.

Enables \u{....} patterns

Fixes #1077

Draft 2020-12 is more explicit about the requirement, but even in
Draft 7 patterns are expected to be applied on the unicode characters,
not the underlying bytes.
@ahl

ahl commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

See #1077

@TvdW

TvdW commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Ah, indeed. I'll update the PR description to indicate this will fix that issue

@ahl ahl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this

@ahl
ahl merged commit a4c4fa8 into oxidecomputer:main Nov 13, 2026
4 checks passed
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.

String validation with regex using unicode property escapes not possible

2 participants