micropython/tests/extmod/ure_split_notimpl.py

8 lines
138 B
Python

import ure as re
r = re.compile('( )')
try:
s = r.split("a b c foobar")
except NotImplementedError:
print('NotImplementedError')