tests/extmod: Improve re1.5/recursiveloop.c test coverage.
This commit is contained in:
parent
773b0bac41
commit
4e86ca398f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user