From 6eabc24416d1ace6ea4d86793f0bc10f5e274955 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 31 Mar 2009 18:38:56 +0000 Subject: #5241: document missing U in regex howto. --- Doc/howto/regex.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index 994c0b9..eab23af 100644 --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst @@ -540,6 +540,10 @@ of each one. | :const:`VERBOSE`, :const:`X` | Enable verbose REs, which can be organized | | | more cleanly and understandably. | +---------------------------------+--------------------------------------------+ +| :const:`UNICODE`, :const:`U` | Makes several escapes like ``\w``, ``\b``, | +| | ``\s`` and ``\d`` dependent on the Unicode | +| | character database. | ++---------------------------------+--------------------------------------------+ .. data:: I @@ -594,6 +598,14 @@ of each one. newline; without this flag, ``'.'`` will match anything *except* a newline. +.. data:: U + UNICODE + :index: + + Make ``\w``, ``\W``, ``\b``, ``\B``, ``\d``, ``\D``, ``\s`` and ``\S`` + dependent on the Unicode character properties database. + + .. data:: X VERBOSE :noindex: -- cgit v0.12