Searched refs:MAXREPEAT (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/ |
D | sre_constants.py | 18 from _sre import MAXREPEAT, MAXGROUPS 65 MAXREPEAT = _NamedIntConstant(MAXREPEAT, 'MAXREPEAT') variable
|
D | sre_parse.py | 181 i = MAXREPEAT - 1 220 self.width = min(lo, MAXREPEAT - 1), min(hi, MAXREPEAT) 626 min, max = 0, MAXREPEAT 629 min, max = 1, MAXREPEAT 635 min, max = 0, MAXREPEAT 651 if min >= MAXREPEAT: 655 if max >= MAXREPEAT:
|
D | sre_compile.py | 714 if max == MAXREPEAT: 730 if max == MAXREPEAT:
|
/external/python/cpython2/Lib/ |
D | sre_constants.py | 19 from _sre import MAXREPEAT 22 MAXREPEAT = _sre.MAXREPEAT = 65535 variable
|
D | sre_parse.py | 161 i = MAXREPEAT - 1 186 self.width = min(lo, MAXREPEAT - 1), min(hi, MAXREPEAT) 512 min, max = 0, MAXREPEAT 515 min, max = 1, MAXREPEAT 521 min, max = 0, MAXREPEAT 536 if min >= MAXREPEAT: 540 if max >= MAXREPEAT:
|
/external/python/cpython2/Lib/test/ |
D | test_re.py | 1071 from _sre import MAXREPEAT 1075 self.assertIsNone(re.match(r".{%d}" % (MAXREPEAT - 1), string)) 1076 self.assertEqual(re.match(r".{,%d}" % (MAXREPEAT - 1), string).span(), 1078 self.assertIsNone(re.match(r".{%d,}?" % (MAXREPEAT - 1), string)) 1079 self.assertRaises(OverflowError, re.compile, r".{%d}" % MAXREPEAT) 1080 self.assertRaises(OverflowError, re.compile, r".{,%d}" % MAXREPEAT) 1081 self.assertRaises(OverflowError, re.compile, r".{%d,}?" % MAXREPEAT)
|
/external/python/cpython3/Lib/test/ |
D | test_re.py | 1729 from _sre import MAXREPEAT 1733 self.assertIsNone(re.match(r".{%d}" % (MAXREPEAT - 1), string)) 1734 self.assertEqual(re.match(r".{,%d}" % (MAXREPEAT - 1), string).span(), 1736 self.assertIsNone(re.match(r".{%d,}?" % (MAXREPEAT - 1), string)) 1737 self.assertRaises(OverflowError, re.compile, r".{%d}" % MAXREPEAT) 1738 self.assertRaises(OverflowError, re.compile, r".{,%d}" % MAXREPEAT) 1739 self.assertRaises(OverflowError, re.compile, r".{%d,}?" % MAXREPEAT)
|