7d851a27f1
Enabled via MICROPY_PY_URE_DEBUG, disabled by default (but enabled on unix coverage build). This is a rarely used feature that costs a lot of code (500-800 bytes flash). Debugging of regular expressions can be done offline with other tools.
10 lines
197 B
Python
10 lines
197 B
Python
# test printing debugging info when compiling
|
|
try:
|
|
import ure
|
|
ure.DEBUG
|
|
except (ImportError, AttributeError):
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
ure.compile('^a|b[0-9]\w$', ure.DEBUG)
|