79 Commits (6dbca367dceda3999979bdc3cdcfdb201f40d044)

Author SHA1 Message Date
Marc-André Lemburg 8f36af7a4c Normalize the encoding names for Latin-1 and UTF-8 to 15 years ago
Ezio Melotti dab886ab0f Merged revisions 78729 via svnmerge from 16 years ago
Ezio Melotti b92ed7cf36 #6509: fix re.sub to work properly when the pattern, the string, and the replacement were all bytes. Patch by Antoine Pitrou. 16 years ago
Benjamin Peterson 6c940d6159 Merged revisions 66894 via svnmerge from 18 years ago
Antoine Pitrou fd036451bf #2834: Change re module semantics, so that str and bytes mixing is forbidden, 18 years ago
Antoine Pitrou 22628c4d6a #3231: re.compile fails with some bytes patterns 18 years ago
Thomas Wouters 40a088dc27 Fix 're' to work on bytes. It could do with a few more tests, though. 18 years ago
Christian Heimes a37d4c693a Removed PyInt_GetMax and sys.maxint 18 years ago
Guido van Rossum 98297ee781 Merging the py3k-pep3137 branch back into the py3k branch. 19 years ago
Guido van Rossum 75a902db78 Patch 1280, by Alexandre Vassalotti. 19 years ago
Thomas Wouters d2cf20eea2 Remove the simple slicing API. All slicing is now done with slice objects. 19 years ago
Collin Winter ce36ad8a46 Raise statement normalization in Lib/. 19 years ago
Guido van Rossum 1325790b93 Merged revisions 55795-55816 via svnmerge from 19 years ago
Guido van Rossum 84fc66dd02 Rename 'unicode' to 'str' in its tp_name field. Rename 'str' to 'str8'. 19 years ago
Guido van Rossum be19ed77dd Fix most trivially-findable print statements. 19 years ago
Guido van Rossum e2a383d062 Rip out 'long' and 'L'-suffixed integer literals. 19 years ago
Thomas Wouters 902d6ebddd Merged revisions 53005-53303 via svnmerge from 19 years ago
Gustavo Niemeyer 6fa0c5a452 Bug #1202493: Fixing SRE parser to handle '{}' as perl does, rather than 21 years ago
Raymond Hettinger 049ade2997 Complete the previous effort to factor out constant expressions 21 years ago
Gustavo Niemeyer f5a1599ebe Minor aesthetic change in sre_parse.py, as suggested by Mike Coleman. 22 years ago
Gustavo Niemeyer a01a2ee933 Applying modified version of patch #1018386, which fixes 22 years ago
Barry Warsaw 8bee76106e PEP 292 classes Template and SafeTemplate are added to the string module. 22 years ago
Raymond Hettinger 968c56a626 Simple Optimizations: 22 years ago
Tim Peters 58eb11cf62 Whitespace normalization. 22 years ago
Gustavo Niemeyer ad3fc44ccb Implemented non-recursive SRE matching. 23 years ago
Martin v. Löwis 53d93adc46 Patch #681152: Support escaped Unicode characters in classes. Fixes #612074. 23 years ago
Guido van Rossum 41c99e7f96 SF patch #720991 by Gary Herron: 23 years ago
Raymond Hettinger f13eb55d59 Replace boolean test with is None. 24 years ago
Raymond Hettinger 54f0222547 SF 563203. Replaced 'has_key()' with 'in'. 24 years ago
Guido van Rossum 8ca162f417 Partial introduction of bools where appropriate. 24 years ago
Neal Norwitz f7fdedc320 SF #515022 remove unused variable 24 years ago
Fredrik Lundh 82b230732f bug #133283, #477728, #483789, #490573 24 years ago
Tim Peters 7533587d43 Improved error msg when a symbolic group name is redefined. Added docs 25 years ago
Fredrik Lundh 8a0232d84f SF bug #476912: flag repeated use of the same groupname as 25 years ago
Fredrik Lundh 59b68656f8 fixed #449964: sre.sub raises an exception if the template contains a 25 years ago
Fred Drake b8f2274985 Added docstrings by Neal Norwitz. This closes SF bug #450980. 25 years ago
Fredrik Lundh b25e1ad253 sre 2.1b2 update: 25 years ago
Fredrik Lundh c0c7ee3a65 detect attempts to repeat anchors (fixes bug #130748) 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 fc170b1fd5 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 470ea5ab94 SRE: stricter pattern syntax checking (covers parts of bug #115900) 25 years ago
Fredrik Lundh 770617b23e SRE fixes for 2.1 alpha: 25 years ago
Fredrik Lundh ebc37b28fa -- properly reset groups in findall (bug #117612) 26 years ago
Fredrik Lundh 13ac9926ac Fixed too ambitious "nothing to repeat" check. Closes bug #114033. 26 years ago
Fredrik Lundh 025468d246 SRE didn't handle character category followed by hyphen inside a 26 years ago
Fredrik Lundh d11b5e54f0 Recompile pattern if (?x) flag was found inside the pattern during the 26 years ago
Fredrik Lundh 19f977ba40 - don't hang if group id is followed by whitespace (closes bug #114660) 26 years ago
Fredrik Lundh 143328ba63 -- tightened up parsing of octal numbers 26 years ago