Home
last modified time | relevance | path

Searched refs:SUBPATTERN (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/
Dsre_constants.py65 SUBPATTERN = "subpattern" variable
127 SUBPATTERN,
Dre.py308 from sre_constants import BRANCH, SUBPATTERN
316 (SUBPATTERN, (len(p)+1, sre_parse.parse(phrase, flags))),
Dsre_compile.py146 elif op is SUBPATTERN:
431 return lo == hi == 1 and av[2][0][0] != SUBPATTERN
453 elif op is SUBPATTERN and len(av[1]) == 1:
464 if op is SUBPATTERN and av[1]:
Dsre_parse.py173 elif op is SUBPATTERN:
700 subpatternappend((SUBPATTERN, (group, p)))
/external/python/cpython3/Lib/
Dre.py349 from sre_constants import BRANCH, SUBPATTERN
360 (SUBPATTERN, (gid, 0, 0, sre_parse.parse(phrase, flags))),
Dsre_compile.py162 elif op is SUBPATTERN:
428 if op is SUBPATTERN:
472 elif op is SUBPATTERN:
497 if op is not SUBPATTERN:
Dsre_parse.py193 elif op is SUBPATTERN:
673 if item[0][0] is SUBPATTERN:
840 subpatternappend((SUBPATTERN, (group, add_flags, del_flags, p)))
854 if op is SUBPATTERN: