home *** CD-ROM | disk | FTP | other *** search
- test_regex
- no match: -1
- successful search: 6
- caught expected exception
- failed awk syntax: -1
- successful awk syntax: 2
- failed awk syntax: -1
- matching with group names and compile()
- -1
- caught expected exception
- matching with group names and symcomp()
- 7
- 801 999
- 801
- ('801', '999')
- ('801', '999')
- realpat: \([0-9]+\) *\([0-9]+\)
- groupindex: {'one': 1, 'two': 2}
- not case folded search: -1
- case folded search: 6
- __members__: ['last', 'regs', 'translate', 'groupindex', 'realpat', 'givenpat']
- 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))
- last: HELLO WORLD
- translate: 256
- givenpat: world
- match with pos: -1
- search with pos: 18
- bogus group: ('world', None, None)
- no name: caught expected exception
-