summaryrefslogtreecommitdiffstats
path: root/Modules/sre_constants.h
Commit message (Collapse)AuthorAgeFilesLines
* added "magic" number to the _sre module, to avoid weird errors causedFredrik Lundh2001-01-151-0/+1
| | | | by compiler/engine mismatches
* SRE fixes for 2.1 alpha:Fredrik Lundh2001-01-141-5/+7
| | | | | | | | | | -- added some more docstrings -- fixed typo in scanner class (#125531) -- the multiline flag (?m) should't affect the \Z operator (#127259) -- fixed non-greedy backtracking bug (#123769, #127259) -- added sre.DEBUG flag (currently dumps the parsed pattern structure) -- fixed a couple of glitches in groupdict (the #126587 memory leak had already been fixed by AMK)
* final 0.9.8 updates:Fredrik Lundh2000-08-011-25/+26
| | | | | -- added REPEAT_ONE operator -- added ANY_ALL operator (used to represent "(?s).")
* SRE 0.9.8: passes the entire test suiteFredrik Lundh2000-08-011-18/+18
| | | | | | | | | -- reverted REPEAT operator to use "repeat context" strategy (from 0.8.X), but done right this time. -- got rid of backtracking stack; use nested SRE_MATCH calls instead (should probably put it back again in 0.9.9 ;-) -- properly reset state in scanner mode -- don't use aggressive inlining by default
* - actually enabled charset anchors in the engine (still notFredrik Lundh2000-07-021-15/+16
| | | | | | | | | | used by the code generator) - changed max repeat value in engine (to match earlier array fix) - added experimental "which part matched?" mechanism to sre; see http://hem.passagen.se/eff/2000_07_01_bot-archive.htm#416954 or python-dev for details.
* -- use charset bitmaps where appropriate. this gives a 5-10%Fredrik Lundh2000-07-021-17/+21
| | | | | | | | | speedup for some tests, including the python tokenizer. -- added support for an optional charset anchor to the engine (currently unused by the code generator). -- removed workaround for array module bug.
* - fixed lookahead assertions (#10, #11, #12)Fredrik Lundh2000-06-301-22/+35
| | | | - untabified sre_constants.py
* towards 1.6b1Fredrik Lundh2000-06-291-20/+28
|
* Fredrik Lundh: here's the 96.6% version of SREJeremy Hylton2000-06-011-1/+23
|
* Adding Fredrik Lundh's _sre.c module and its header files.Guido van Rossum2000-03-311-0/+27
NOTE: THIS IS VERY ROUGH ALPHA CODE!