summaryrefslogtreecommitdiff
path: root/docs/library/ure.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/ure.rst')
-rw-r--r--docs/library/ure.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/library/ure.rst b/docs/library/ure.rst
index 9a5a87fb6..f54614f04 100644
--- a/docs/library/ure.rst
+++ b/docs/library/ure.rst
@@ -15,8 +15,9 @@ Supported operators are:
``'.'``
Match any character.
-``'[]'``
- Match set of characters. Individual characters and ranges are supported.
+``'[...]'``
+ Match set of characters. Individual characters and ranges are supported,
+ including negated sets (e.g. ``[^a-c]``).
``'^'``
@@ -36,12 +37,13 @@ Supported operators are:
``'|'``
-``'()'``
+``'(...)'``
Grouping. Each group is capturing (a substring it captures can be accessed
with `match.group()` method).
-Counted repetitions (``{m,n}``), more advanced assertions, named groups,
-etc. are not supported.
+**NOT SUPPORTED**: Counted repetitions (``{m,n}``), more advanced assertions
+(``\b``, ``\B``), named groups (``(?P<name>...)``), non-capturing groups
+(``(?:...)``), etc.
Functions