70 Commits (41bade96a4d1dcd35bbba79c2eabe052d02756a4)

Author SHA1 Message Date
Ezio Melotti ebbf1e67a8 #2650: Refactor re.escape to use enumerate(). 15 years ago
Raymond Hettinger 02566ec89f Adopt more descriptive attribute names as suggested on python-dev. 16 years ago
Raymond Hettinger d9e8cc6249 Clean-up the cache patch for the re module. 16 years ago
Antoine Pitrou 3060c4573f Reapply r83877. 16 years ago
Antoine Pitrou aba74bddd6 Revert r83877 in order to fix compilation 16 years ago
Senthil Kumaran 9f347ea545 reapply the revert made in r83875 16 years ago
Raymond Hettinger 31022301b5 Revert 83784 adding functools.lru_cache() to the re module. 16 years ago
Raymond Hettinger 4f859ed9c7 Issue 9396. Apply functools.lru_cache in the place of the 16 years ago
Gregory P. Smith 5a63183a8b The default size of the re module's compiled regular expression cache has 16 years ago
Gregory P. Smith ccc5ae7ae1 Merged revisions 70090 via svnmerge from 17 years ago
Benjamin Peterson 75edad0502 Merged revisions 68116-68119,68121,68123-68127 via svnmerge from 17 years ago
Guido van Rossum 698280df7c Issue #3756: make re.escape() handle bytes as well as str. 18 years ago
Antoine Pitrou fd036451bf #2834: Change re module semantics, so that str and bytes mixing is forbidden, 18 years ago
Alexandre Vassalotti f7fa63dd55 Rename copy_reg module to copyreg. 18 years ago
Christian Heimes 2202f877b1 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60568-60598,60600-60616 via svnmerge from 18 years ago
Christian Heimes af98da18c0 Merged revisions 60284-60349 via svnmerge from 18 years ago
Georg Brandl 86def6cb2b Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge from 18 years ago
Christian Heimes 5fb7c2ad0b Merged revisions 59565-59594 via svnmerge from 18 years ago
Collin Winter ce36ad8a46 Raise statement normalization in Lib/. 19 years ago
Guido van Rossum d59da4b432 Merged revisions 55407-55513 via svnmerge from 19 years ago
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter: 19 years ago
Thomas Wouters 9ada3d6e29 Merge trunk up to 43069, putting re.py back and hopefully making the branch 20 years ago
Raymond Hettinger ebb7f30111 Speed-up escape() 21 years ago
Raymond Hettinger 596ba4d89e Granted Noam Raphael's request for minor improvements to the re module and 22 years ago
Barry Warsaw 8bee76106e PEP 292 classes Template and SafeTemplate are added to the string module. 22 years ago
Andrew M. Kuchling 43ab0cd174 [Bug #990792] Mention that repl can be a callable 22 years ago
Hye-Shik Chang 0f5bf1ebdd SF #926075: Fixed the bug that returns a wrong pattern object for 22 years ago
Just van Rossum 74902508dc Addendum to #764548: restore 2.1 compatibility. 23 years ago
Just van Rossum 12723bacea Fix and test for bug #764548: 23 years ago
Guido van Rossum 0d976551fb Add finditer to __all__ (when defining it at all). 24 years ago
Fredrik Lundh b7747e2a2d added finditer sanity check 25 years ago
Fredrik Lundh 703ce8122c (experimental) "finditer" method/function. this works pretty much 25 years ago
Fredrik Lundh dac58492aa fixed character set description in docstring (SRE uses Python 25 years ago
Fredrik Lundh 1296a8d77e sre.Scanner fixes (from Greg Chapman). also added a Scanner sanity 25 years ago
Fredrik Lundh bec95b9d88 rewrote the pattern.sub and pattern.subn methods in C 25 years ago
Fredrik Lundh 397a654791 SRE bug #441409: 25 years ago
Fredrik Lundh 59b68656f8 fixed #449964: sre.sub raises an exception if the template contains a 25 years ago
Fredrik Lundh 21009b9c6f an SRE bugfix a day keeps Guido away... 25 years ago
Fred Drake 9f5b822fb3 Convert docstring to "raw" string. 25 years ago
Fred Drake b8f2274985 Added docstrings by Neal Norwitz. This closes SF bug #450980. 25 years ago
Guido van Rossum 315cd29ecf Disable the sub() optimization until Fredrik has time to look into SF 25 years ago
Fredrik Lundh 2d96f11d07 map re.sub() to string.replace(), when possible 25 years ago
Fredrik Lundh e06cbb8c56 bug #436596 25 years ago
Fredrik Lundh b25e1ad253 sre 2.1b2 update: 25 years ago
Fredrik Lundh f2989b22ff - restored 1.5.2 compatibility (sorry, eric) 25 years ago
Skip Montanaro 0de65807e6 bunch more __all__ lists 25 years ago
Eric S. Raymond b08b2d3166 String method conversion. 25 years ago
Fredrik Lundh 1c5aa6901f bumped SRE version number to 2.1. cleaned up and added 1.5.2 25 years ago
Fredrik Lundh 770617b23e SRE fixes for 2.1 alpha: 25 years ago
Fredrik Lundh 5644b7fad1 - fixed yet another gcc -pedantic warning 26 years ago