95 Commits (3cd30c2ceeaeabe0486a2467fd11cdc008bf6f67)

Author SHA1 Message Date
Benjamin Peterson 66323415c7 backout 9fcf4008b626 (#9179) for further consideration 12 years ago
Serhiy Storchaka 84df7fe6a2 Issues #814253, #9179: Group references and conditional group references now 12 years ago
Serhiy Storchaka 44dae8bde3 Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re 12 years ago
Raymond Hettinger 1c99bc84bd Issue #8343: Named group error msgs did not show the group name. 12 years ago
Victor Stinner 7fa767e517 Issue #20976: pyflakes: Remove unused imports 12 years ago
Serhiy Storchaka 9c15ec1ce6 Issue #19365: Optimized the parsing of long replacement string in re.sub*() 13 years ago
Serhiy Storchaka c8bf95cfc5 Issue #18050: Fixed an incompatibility of the re module with Python 3.3.0 13 years ago
Serhiy Storchaka 9d96542b6d Issue #18647: Correctly bound calculated min/max width of a subexpression. 13 years ago
R David Murray 26dfaac9ac #17341: Include name in re error message about invalid group name. 13 years ago
Georg Brandl 1d472b74cb Closes #14462: allow any valid Python identifier in sre group names, as documented. 13 years ago
Serhiy Storchaka 70ca0210e8 Issue #13169: The maximal repetition number in a regular expression has been 14 years ago
Serhiy Storchaka e18e05cce9 Issue #13169: The maximal repetition number in a regular expression has been 14 years ago
Ezio Melotti fe8e6e7414 #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett. 14 years ago
Ezio Melotti 5c4e32b131 #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett. 14 years ago
Ezio Melotti 0941d9fc64 #12759: sre_parse now raises a proper error when the name of the group is missing. Initial patch by Serhiy Storchaka. 14 years ago
Ezio Melotti ef3173877c #12759: sre_parse now raises a proper error when the name of the group is missing. Initial patch by Serhiy Storchaka. 14 years ago
Antoine Pitrou 463badf06c Issue #3665: \u and \U escapes are now supported in unicode regular expressions. 14 years ago
Marc-André Lemburg 8f36af7a4c Normalize the encoding names for Latin-1 and UTF-8 to 16 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
Benjamin Peterson 32e7aa6ab9 remove set compat cruft 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
Benjamin Peterson 838c7b3619 remove some __getslice__ 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 19 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. 20 years ago
Guido van Rossum e2a383d062 Rip out 'long' and 'L'-suffixed integer literals. 20 years ago
Thomas Wouters 902d6ebddd Merged revisions 53005-53303 via svnmerge from 20 years ago
Thomas Wouters e3a985fe9a Make sre's SubPattern objects accept slice objects like it already accepts 20 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 22 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: 23 years ago
Tim Peters 58eb11cf62 Whitespace normalization. 23 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. 25 years ago