(self)
| 2427 | {'tag': 'foo', 'text': None}]) |
| 2428 | |
| 2429 | def test_MARK_PUSH_macro_bug(self): |
| 2430 | # issue35859, MARK_PUSH() macro didn't protect MARK-0 if it |
| 2431 | # was the only available mark. |
| 2432 | self.assertEqual(re.match(r'(ab|a)*?b', 'ab').groups(), ('a',)) |
| 2433 | self.assertEqual(re.match(r'(ab|a)+?b', 'ab').groups(), ('a',)) |
| 2434 | self.assertEqual(re.match(r'(ab|a){0,2}?b', 'ab').groups(), ('a',)) |
| 2435 | self.assertEqual(re.match(r'(.b|a)*?b', 'ab').groups(), ('a',)) |
| 2436 | |
| 2437 | def test_MIN_UNTIL_mark_bug(self): |
| 2438 | # Fixed in issue35859, reported in issue9134. |
nothing calls this directly
no test coverage detected