Go to the source code of this file.
|
string | SPECIAL_CHARS = ".\\[{()*+?^$|" |
|
string | REPEAT_CHARS = "*+?{" |
|
tuple | DIGITS = tuple("0123456789") |
|
tuple | OCTDIGITS = tuple("01234567") |
|
tuple | HEXDIGITS = tuple("0123456789abcdefABCDEF") |
|
tuple | WHITESPACE = tuple(" \t\n\r\v\f") |
|
dictionary | ESCAPES |
|
dictionary | CATEGORIES |
|
dictionary | FLAGS |
|
| atoi = int |
|
list | start = set[:] |
| if source.match(":"): pass # handle character classes More...
|
|
tuple | this = source.get() |
|
tuple | code1 = _class_escape(source, this) |
|
tuple | code2 = _class_escape(source, this) |
|
list | lo = code1[1] |
|
list | hi = code2[1] |
|
tuple | here = source.tell() |
|
tuple | min = atoi(lo) |
|
tuple | max = atoi(hi) |
|
list | item = subpattern[-1:] |
|
int | group = 1 |
|
| name = None |
|
tuple | char = source.get() |
|
tuple | gid = state.groupdict.get(name) |
|
int | dir = 1 |
|
tuple | p = _parse_sub(source, state) |
|
tuple | code = _escape(source, this, state) |
|