summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sre.py
Commit message (Collapse)AuthorAgeFilesLines
* -- changed findall to return empty strings instead of NoneFredrik Lundh2000-08-091-0/+1
| | | | for undefined groups
* -- added recursion limit (currently ~10,000 levels)Fredrik Lundh2000-08-031-0/+10
| | | | | | | -- improved error messages -- factored out SRE_COUNT; the same code is used by SRE_OP_REPEAT_ONE_TEMPLATE -- minor cleanups
* -- SRE 0.9.8: now that the bug is fixed, I might as well enableFredrik Lundh2000-08-011-4/+2
| | | | the test again...
* -- SRE 0.9.8: updated test scriptsFredrik Lundh2000-08-011-5/+6
|
* - added lookbehind support (?<=pattern), (?<!pattern).Fredrik Lundh2000-07-031-25/+25
| | | | | | | | | | | | | | | | | the pattern must have a fixed width. - got rid of array-module dependencies; the match pro- gram is now stored inside the pattern object, rather than in an extra string buffer. - cleaned up a various of potential leaks, api abuses, and other minors in the engine module. - use mal's new isalnum macro, rather than my own work- around. - untabified test_sre.py. seems like I removed a couple of trailing spaces in the process...
* - pedantic: make sure "python -t" doesn't complain...Fredrik Lundh2000-06-301-5/+5
|
* - fixed default value handling in group/groupdictFredrik Lundh2000-06-301-0/+385
- added test suite