Select Git revision
Forked from
card10 / firmware
Source project has a limited visibility.
ure.rst 1.54 KiB
:mod:`ure` -- regular expressions
This module implements regular expression operations. Regular expression
syntax supported is a subset of CPython re
module (and actually is
a subset of POSIX extended regular expressions).
Supported operators are:
'.'
- Match any character.
'[]'
- Match set of characters. Individual characters and ranges are supported.
'^'
'$'
'?'
'*'
'+'
'??'
'*?'
'+?'
Counted repetitions ({m,n}
), more advanced assertions, named groups,
etc. are not supported.
Functions
Regex objects
Compiled regular expression. Instances of this class are created using
ure.compile()
.