Description
What version of regex are you using?
1.7.3
Describe the bug at a high level.
The crate docs under Matching one character for syntax defines:
\pN One-letter name Unicode character class
However, I cannot find a definition for "name Unicode character class" anywhere in the documentation, or through web searches.
Lower in Unicode features, certain features link to Unicode specifications, which is helpful, but from these I still cannot determine what "name character class" is. For example the unicode-gencat
feature enables category-specification in patterns which correspond to this link Unicode general categories which does not have a "name" category.
What are the steps to reproduce the behavior?
Read the documentation and try to define what "name Unicode character class" is.
What is the actual behavior?
The specific definition is not found.
What is the expected behavior?
A definition would be provided, such as:
The name Unicode character class is specified in
<link>
-or if it's an equivalent to another pattern, that could also be provided. For example, my (unverified) guess is that the name category might be equivalent to the Unicode Letter
category:
The
\Pn
pattern is equivalent to\P{Letter}