Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r72007:b91e7ae78e03
Date: 2014-06-09 20:00 +0200
http://bitbucket.org/pypy/pypy/changeset/b91e7ae78e03/

Log:    Add the original failure as a test.

diff --git a/rpython/rlib/rsre/test/test_match.py 
b/rpython/rlib/rsre/test/test_match.py
--- a/rpython/rlib/rsre/test/test_match.py
+++ b/rpython/rlib/rsre/test/test_match.py
@@ -267,3 +267,8 @@
         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"
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to