Skip to content

Conversation

schultzdavid
Copy link
Collaborator

@schultzdavid schultzdavid commented Oct 11, 2025

https://docs.raku.org/language/regexes#Predefined_character_classes

The current description ("only Punct beyond ASCII") is wrong, because standard ASCII punctuation characters match, too.

From this roast, it's obvious that at least the matching of ASCII and latin punctation is indeed required, but like the present description says, non-ASCII-non-latin punctuation chars also match (REPL: my $chars = [~] chr(0)..chr(0xFFFF); $chars.comb(/<punct>/).put;), which also seems to be intended.

The current description "only Punct beyond ASCII" is wrong, as standard ASCII chars also match
@coke coke merged commit c8bc721 into Raku:main Oct 11, 2025
1 check 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.

2 participants