aboutsummaryrefslogtreecommitdiff
path: root/tests/extmod/ure1.py
AgeCommit message (Collapse)Author
2020-06-08extmod/ure: Use single function for match/search/sub.stijn
Saves about 500 bytes on unix x64 and enables CPython-conform usage of passing a re object to these functions.
2020-03-30tests: Format all Python code with black, except tests in basics subdir.David Lechner
This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting.
2019-10-18extmod/re1.5: Support escaping within RE classes.Jim Mussared
Fixes issues #3178 and #5220. Tests are added, including all the cases mentioned in both bugs.
2017-10-05tests/extmod: Add test for '-' in character class in regex.Damien George
2017-07-01extmod/modure: If input string is bytes, return bytes results too.Paul Sokolovsky
This applies to match.group() and split(). For ARM Thumb2, this increased code size by 12 bytes.
2017-06-10tests: Convert remaining "sys.exit()" to "raise SystemExit".Paul Sokolovsky
2017-03-14tests/extmod: Improve re1.5/recursiveloop.c test coverage.Rami Ali
2017-02-15tests/extmod: Make tests skippable.Paul Sokolovsky
2017-01-17tests/extmod: Improve test coverage of ure module.Rami Ali
2015-11-01extmod/modure: Make sure that errors in regexps are caught early.Paul Sokolovsky
2015-03-14tests: Add some more tests for complex numbers and ure module.Damien George
2014-10-17modure: Update to re1.5 v0.6.1, fixed and extended character class support.Paul Sokolovsky
2014-10-15modure: Update to re1.5 v0.6, support for char sets/classes ([a-c]).Paul Sokolovsky
2014-10-11modure: Basic tests.Paul Sokolovsky