[pypy-svn] r75887 - pypy/branch/rsre2/pypy/rlib/rsre/test

arigo at codespeak.net arigo at codespeak.net
Tue Jul 6 11:19:35 CEST 2010


Author: arigo
Date: Tue Jul  6 11:19:34 2010
New Revision: 75887

Modified:
   pypy/branch/rsre2/pypy/rlib/rsre/test/test_match.py
Log:
Typo.


Modified: pypy/branch/rsre2/pypy/rlib/rsre/test/test_match.py
==============================================================================
--- pypy/branch/rsre2/pypy/rlib/rsre/test/test_match.py	(original)
+++ pypy/branch/rsre2/pypy/rlib/rsre/test/test_match.py	Tue Jul  6 11:19:34 2010
@@ -170,7 +170,7 @@
         assert res.flatten_marks() == [0, 9, 1, 2, 7, 9, 7, 8, 8, 9]
 
     def test_bug1(self):
-        # REPEAT_ONE instead REPEAT
+        # REPEAT_ONE inside REPEAT
         r = get_code(r"(?:.+)?B")
         assert rsre.match(r, "AB") is not None
         r = get_code(r"(?:AA+?)+B")
@@ -179,7 +179,7 @@
         assert rsre.match(r, "AAAB") is not None
         r = get_code(r"(?:AA+?)+?B")
         assert rsre.match(r, "AAAB") is not None
-        # REPEAT instead REPEAT
+        # REPEAT inside REPEAT
         r = get_code(r"(?:(?:xy)+)?B")
         assert rsre.match(r, "xyB") is not None
         r = get_code(r"(?:xy(?:xy)+?)+B")



More information about the Pypy-commit mailing list