Skip to content

Commit 5b1b80a

Browse files
committed
docs/ure: Emphasize not supported features more.
Plus, additional descriptions/formatting.
1 parent b9580b8 commit 5b1b80a

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

docs/library/ure.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ Supported operators are:
1515
``'.'``
1616
Match any character.
1717

18-
``'[]'``
19-
Match set of characters. Individual characters and ranges are supported.
18+
``'[...]'``
19+
Match set of characters. Individual characters and ranges are supported,
20+
including negated sets (e.g. ``[^a-c]``).
2021

2122
``'^'``
2223

@@ -36,12 +37,13 @@ Supported operators are:
3637

3738
``'|'``
3839

39-
``'()'``
40+
``'(...)'``
4041
Grouping. Each group is capturing (a substring it captures can be accessed
4142
with `match.group()` method).
4243

43-
Counted repetitions (``{m,n}``), more advanced assertions, named groups,
44-
etc. are not supported.
44+
**NOT SUPPORTED**: Counted repetitions (``{m,n}``), more advanced assertions
45+
(``\b``, ``\B``), named groups (``(?P<name>...)``), non-capturing groups
46+
(``(?:...)``), etc.
4547

4648

4749
Functions

0 commit comments

Comments
 (0)