From 5b1b80a8dbceb9be67dfd894cdf2a49a7426fd68 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 8 Nov 2017 00:24:39 +0200 Subject: [PATCH] docs/ure: Emphasize not supported features more. Plus, additional descriptions/formatting. --- docs/library/ure.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/library/ure.rst b/docs/library/ure.rst index 9a5a87fb65..f54614f048 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...)``), non-capturing groups +(``(?:...)``), etc. Functions