Skip to content

Commit 30f53ef

Browse files
committed
doc: tweak presentation of \pN syntax
The wording appears to be a little unclear, so we switch it around a bit. Fixes #975
1 parent bf508ea commit 30f53ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ a separate crate, [`regex-syntax`](https://docs.rs/regex-syntax).
287287
. any character except new line (includes new line with s flag)
288288
\d digit (\p{Nd})
289289
\D not digit
290-
\pN One-letter name Unicode character class
290+
\pX Unicode character class identified by a one-letter name
291291
\p{Greek} Unicode character class (general category or script)
292-
\PN Negated one-letter name Unicode character class
292+
\PX Negated Unicode character class identified by a one-letter name
293293
\P{Greek} negated Unicode character class (general category or script)
294294
</pre>
295295

0 commit comments

Comments
 (0)