diff --git a/README.rst b/README.rst index 0215a7b..47d8312 100644 --- a/README.rst +++ b/README.rst @@ -926,6 +926,8 @@ A short form starting with ``In`` indicates a block property: * ``InBasicLatin``, the 'BasicLatin' block (``Block=BasicLatin``). +The (`Unicode properties `_), (`scripts `_), and (`blocks `_) documentation lists properties that you can use with this syntax and the characters that have them. + POSIX character classes ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/regex_3/regex.py b/regex_3/regex.py index e77795e..14f68c3 100644 --- a/regex_3/regex.py +++ b/regex_3/regex.py @@ -144,7 +144,8 @@ \n Matches the newline character. \N{name} Matches the named character. \p{name=value} Matches the character if its property has the specified - value. + value. A list of unicode properties and the characters that + have them is available here: https://www.unicode.org/Public/16.0.0/ucd/PropList.txt \P{name=value} Matches the character if its property hasn't the specified value. \r Matches the carriage-return character.