Searched refs:condgroup (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/ |
D | sre_parse.py | 115 condgroup, item_yes, item_no = av 116 print condgroup 395 def _parse_sub_cond(source, state, condgroup, nested): argument 406 subpattern.append((GROUPREF_EXISTS, (condgroup, item_yes, item_no))) 566 condgroup = None 665 condgroup = state.groupdict.get(condname) 666 if condgroup is None: 671 condgroup = int(condname) 692 if condgroup: 693 p = _parse_sub_cond(source, state, condgroup, nested + 1)
|
/external/python/cpython3/Lib/ |
D | sre_parse.py | 135 condgroup, item_yes, item_no = av 136 print('', condgroup) 753 condgroup = state.groupdict.get(condname) 754 if condgroup is None: 759 condgroup = int(condname) 760 if condgroup < 0: 765 if not condgroup: 768 if condgroup >= MAXGROUPS: 769 msg = "invalid group reference %d" % condgroup 771 state.checklookbehindgroup(condgroup, source) [all …]
|