tests/extmod: Improve re1.5/recursiveloop.c test coverage.

This commit is contained in:
Rami Ali 2017-03-14 16:11:25 +11:00 committed by Damien George
parent 773b0bac41
commit 4e86ca398f

View File

@ -72,6 +72,11 @@ m = re.match('^ab$', 'ab'); print(m.group(0))
m = re.match('a|b', 'b'); print(m.group(0))
m = re.match('a|b|c', 'c'); print(m.group(0))
# Case where anchors fail to match
r = re.compile("^b|b$")
m = r.search("abc")
print(m)
try:
re.compile("*")
except: