Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | test_regex |
2 | no match: -1 | |
3 | successful search: 6 | |
4 | caught expected exception | |
5 | failed awk syntax: -1 | |
6 | successful awk syntax: 2 | |
7 | failed awk syntax: -1 | |
8 | matching with group names and compile() | |
9 | -1 | |
10 | caught expected exception | |
11 | matching with group names and symcomp() | |
12 | 7 | |
13 | 801 999 | |
14 | 801 | |
15 | ('801', '999') | |
16 | ('801', '999') | |
17 | realpat: \([0-9]+\) *\([0-9]+\) | |
18 | groupindex: {'one': 1, 'two': 2} | |
19 | not case folded search: -1 | |
20 | case folded search: 6 | |
21 | __members__: ['last', 'regs', 'translate', 'groupindex', 'realpat', 'givenpat'] | |
22 | regs: ((6, 11), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1), (-1, -1)) | |
23 | last: HELLO WORLD | |
24 | translate: 256 | |
25 | givenpat: world | |
26 | match with pos: -1 | |
27 | search with pos: 18 | |
28 | bogus group: ('world', None, None) | |
29 | no name: caught expected exception |