This repository was archived by the owner on Apr 24, 2025. It is now read-only.
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
Closed
Description
It appears that the [[:punct:]] class does not match the following characters $+<>=^`|~ which is different behaviour from other regex libraries I've used (including the online regex101 tool).
According to https://en.wikibooks.org/wiki/Regular_Expressions/POSIX_Basic_Regular_Expressions :punct: should be all "all graphic characters except letters and digits"
I'm using the rust onig
bindings, the code below produces no matches using onigruma but works with the alternative regex
crate. Are you using a different definition of the POSIX character classes? If so I cannot find a reference in the documentation.
Metadata
Metadata
Assignees
Labels
No labels