Commits

Armin Rigo committed b91e7ae

Add the original failure as a test.

Comments (0)

Files changed (1)

rpython/rlib/rsre/test/test_match.py

         match = rsre_core.match(r, "abbbbbbbbbcdef")
         assert match
         assert match.match_end == 11
+
+    def test_empty_maxuntil(self):
+        r = get_code("\\{\\{((?:.*?)+)\\}\\}")
+        match = rsre_core.match(r, "{{a}}{{b}}")
+        assert match.group(1) == "a"