circuitpython/tests/extmod/ure_split_notimpl.py

8 lines
138 B
Python
Raw Normal View History

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