diff options
| author | Rami Ali | 2017-01-17 17:26:59 +1100 |
|---|---|---|
| committer | Damien George | 2017-01-17 17:42:37 +1100 |
| commit | 5e80c53c115e8b45df598ffdbc45dfdd543be8ac (patch) | |
| tree | 2e78f29dfd636340d645afcb4d17d6168767d356 /tests/extmod/ure1.py | |
| parent | d7150b09d752b48bfa5df66fd1438bbcca18eb09 (diff) | |
tests/extmod: Improve test coverage of ure module.
Diffstat (limited to 'tests/extmod/ure1.py')
| -rw-r--r-- | tests/extmod/ure1.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/extmod/ure1.py b/tests/extmod/ure1.py index aeadf4e5c..48537c2ea 100644 --- a/tests/extmod/ure1.py +++ b/tests/extmod/ure1.py @@ -11,6 +11,10 @@ try: except IndexError: print("IndexError") +# conversion of re and match to string +str(r) +str(m) + r = re.compile("(.+)1") m = r.match("xyz781") print(m.group(0)) |
