Module re
source code
A replacement for the Python re module, using the simple engine.
Eventually much of this will do something smart to choose an appropriate
engine.
For documentation, see the official Python re module documentation.
|
|
_re = Re(SimpleEngine)
|
|
|
compile = _re.compile
|
|
|
RegexObject = _re.RegexObject
|
|
|
MatchIterator = _re.MatchIterator
|
|
|
match = _re.match
|
|
|
search = _re.search
|
|
|
findall = _re.findall
|
|
|
finditer = _re.finditer
|
|
|
sub = _re.sub
|
|
|
subn = _re.subn
|
|
|
split = _re.split
|
|
|
error = _re.error
|
|
|
escape = _re.escape
|
|
|
Scanner = _re.Scanner
|