Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,8 @@ A short form starting with ``In`` indicates a block property:

* ``InBasicLatin``, the 'BasicLatin' block (``Block=BasicLatin``).

The (`Unicode properties <https://www.unicode.org/Public/16.0.0/ucd/PropList.txt>`_), (`scripts <https://www.unicode.org/Public/16.0.0/ucd/Scripts.txt>`_), and (`blocks <https://www.unicode.org/Public/16.0.0/ucd/Blocks.txt>`_) documentation lists properties that you can use with this syntax and the characters that have them.

POSIX character classes
^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
3 changes: 2 additions & 1 deletion regex_3/regex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down