Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #14260: The groupindex attribute of regular expression pattern object | Serhiy Storchaka | 2015-03-29 | 1 | -1/+2 |
| | | | | now is non-modifiable mapping. | ||||
* | Issue #22364: Improved some re error messages using regex for hints. | Serhiy Storchaka | 2015-03-25 | 1 | -115/+112 |
| | |||||
* | Fixed using deprecated escaping in regular expression in _strptime.py ↵ | Serhiy Storchaka | 2015-03-24 | 1 | -1/+1 |
| | | | | (issue23622). | ||||
* | Issue #23622: Unknown escapes in regular expressions that consist of ``'\'`` | Serhiy Storchaka | 2015-03-24 | 1 | -1/+13 |
| | | | | | and ASCII letter now raise a deprecation warning and will be forbidden in Python 3.6. | ||||
* | Issues #814253, #9179: Group references and conditional group references now | Serhiy Storchaka | 2015-02-21 | 1 | -9/+42 |
| | | | | work in lookbehind assertions in regular expressions. | ||||
* | Issue #21032: Deprecated the use of re.LOCALE flag with str patterns or | Serhiy Storchaka | 2014-12-01 | 1 | -0/+10 |
| | | | | re.ASCII. It was newer worked. | ||||
* | merge 3.4 (#9179) | Benjamin Peterson | 2014-11-30 | 1 | -24/+9 |
|\ | |||||
| * | backout 9fcf4008b626 (#9179) for further consideration | Benjamin Peterson | 2014-11-30 | 1 | -24/+9 |
| | | |||||
* | | Minor code clean up and improvements in the re module. | Serhiy Storchaka | 2014-11-11 | 1 | -4/+4 |
| | | |||||
* | | Fixed error position for the backslash at the end of regex pattern. | Serhiy Storchaka | 2014-11-10 | 1 | -1/+2 |
| | | |||||
* | | Fixed AttributeError when the regular expression starts from illegal escape. | Serhiy Storchaka | 2014-11-10 | 1 | -0/+1 |
| | | |||||
* | | Issue #22578: Added attributes to the re.error class. | Serhiy Storchaka | 2014-11-10 | 1 | -59/+82 |
| | | |||||
* | | Merge heads | Serhiy Storchaka | 2014-11-10 | 1 | -2/+2 |
|\ \ | |||||
| * | | Issue #22823: Use set literals instead of creating a set from a list | Raymond Hettinger | 2014-11-09 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #22434: Constants in sre_constants are now named constants (enum-like). | Serhiy Storchaka | 2014-11-09 | 1 | -5/+4 |
|/ / | |||||
* | | Issues #814253, #9179: Group references and conditional group references now | Serhiy Storchaka | 2014-11-07 | 1 | -9/+24 |
|\ \ | |/ | | | | | work in lookbehind assertions in regular expressions. | ||||
| * | Issues #814253, #9179: Group references and conditional group references now | Serhiy Storchaka | 2014-11-07 | 1 | -9/+24 |
| | | | | | | | | work in lookbehind assertions in regular expressions. | ||||
* | | Issue #19380: Optimized parsing of regular expressions. | Serhiy Storchaka | 2014-10-10 | 1 | -149/+119 |
| | | |||||
* | | Issue 1519638: Now unmatched groups are replaced with empty strings in re.sub() | Serhiy Storchaka | 2014-10-10 | 1 | -5/+3 |
| | | | | | | | | and re.subn(). | ||||
* | | Issue #22437: Number of capturing groups in regular expression is no longer | Serhiy Storchaka | 2014-09-29 | 1 | -0/+10 |
| | | | | | | | | limited by 100. | ||||
* | | Issue #22362: Forbidden ambiguous octal escapes out of range 0-0o377 in | Serhiy Storchaka | 2014-09-23 | 1 | -4/+16 |
|/ | | | | regular expressions. | ||||
* | Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re | Serhiy Storchaka | 2014-09-21 | 1 | -16/+28 |
| | | | | module. | ||||
* | Issue #8343: Named group error msgs did not show the group name. | Raymond Hettinger | 2014-06-23 | 1 | -3/+6 |
| | |||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -2/+0 |
| | |||||
* | Issue #19365: Optimized the parsing of long replacement string in re.sub*() | Serhiy Storchaka | 2013-10-23 | 1 | -44/+30 |
| | | | | functions. | ||||
* | Issue #18647: Correctly bound calculated min/max width of a subexpression. | Serhiy Storchaka | 2013-08-19 | 1 | -4/+4 |
| | | | | | Now max width is MAXREPEAT on 32- and 64-bit platforms when one of subexpressions is unbounded repetition. | ||||
* | #17341: Include name in re error message about invalid group name. | R David Murray | 2013-04-14 | 1 | -2/+3 |
| | | | | Patch by Jason Michalski. | ||||
* | Closes #14462: allow any valid Python identifier in sre group names, as ↵ | Georg Brandl | 2013-04-14 | 1 | -4/+16 |
| | | | | documented. | ||||
* | Issue #13169: The maximal repetition number in a regular expression has been | Serhiy Storchaka | 2013-02-16 | 1 | -2/+7 |
|\ | | | | | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit). | ||||
| * | Issue #13169: The maximal repetition number in a regular expression has been | Serhiy Storchaka | 2013-02-16 | 1 | -2/+7 |
| | | | | | | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit). | ||||
* | | #13899: merge with 3.2. | Ezio Melotti | 2013-01-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when ↵ | Ezio Melotti | 2013-01-11 | 1 | -1/+1 |
| | | | | | | | | used inside character classes (e.g. [A]). Patch by Matthew Barnett. | ||||
* | | #12759: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -1/+7 |
|\ \ | |/ | |||||
| * | #12759: sre_parse now raises a proper error when the name of the group is ↵ | Ezio Melotti | 2012-11-03 | 1 | -1/+7 |
| | | | | | | | | missing. Initial patch by Serhiy Storchaka. | ||||
* | | Issue #3665: \u and \U escapes are now supported in unicode regular expressions. | Antoine Pitrou | 2012-06-23 | 1 | -17/+49 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Normalize the encoding names for Latin-1 and UTF-8 to | Marc-André Lemburg | 2011-02-25 | 1 | -1/+1 |
|/ | | | | | | | | | | 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303. | ||||
* | #6509: fix re.sub to work properly when the pattern, the string, and the ↵ | Ezio Melotti | 2010-03-06 | 1 | -1/+7 |
| | | | | replacement were all bytes. Patch by Antoine Pitrou. | ||||
* | Merged revisions 66894 via svnmerge from | Benjamin Peterson | 2008-10-14 | 1 | -6/+0 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66894 | benjamin.peterson | 2008-10-14 17:37:18 -0500 (Tue, 14 Oct 2008) | 1 line remove set compat cruft ........ | ||||
* | #2834: Change re module semantics, so that str and bytes mixing is forbidden, | Antoine Pitrou | 2008-08-19 | 1 | -0/+14 |
| | | | | | and str (unicode) patterns get full unicode matching by default. The re.ASCII flag is also introduced to ask for ASCII matching instead. | ||||
* | #3231: re.compile fails with some bytes patterns | Antoine Pitrou | 2008-07-22 | 1 | -1/+1 |
| | |||||
* | Fix 're' to work on bytes. It could do with a few more tests, though. | Thomas Wouters | 2008-03-18 | 1 | -2/+2 |
| | |||||
* | Removed PyInt_GetMax and sys.maxint | Christian Heimes | 2007-12-04 | 1 | -2/+2 |
| | | | | | I replaced sys.maxint with sys.maxsize in Lib/*.py. Does anybody see a problem with the change on Win 64bit platforms? Win 64's long is just 32bit but the sys.maxsize is now 2**63-1 on every 64bit platform. Also added docs for sys.maxsize. | ||||
* | Merging the py3k-pep3137 branch back into the py3k branch. | Guido van Rossum | 2007-11-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | No detailed change log; just check out the change log for the py3k-pep3137 branch. The most obvious changes: - str8 renamed to bytes (PyString at the C level); - bytes renamed to buffer (PyBytes at the C level); - PyString and PyUnicode are no longer compatible. I.e. we now have an immutable bytes type and a mutable bytes type. The behavior of PyString was modified quite a bit, to make it more bytes-like. Some changes are still on the to-do list. | ||||
* | Patch 1280, by Alexandre Vassalotti. | Guido van Rossum | 2007-10-19 | 1 | -2/+8 |
| | | | | | Make PyString's indexing and iteration return integers. (I changed a few of Alexandre's decisions -- GvR.) | ||||
* | Remove the simple slicing API. All slicing is now done with slice objects. | Thomas Wouters | 2007-08-30 | 1 | -2/+0 |
| | |||||
* | Raise statement normalization in Lib/. | Collin Winter | 2007-08-30 | 1 | -46/+46 |
| | |||||
* | Merged revisions 55795-55816 via svnmerge from | Guido van Rossum | 2007-06-07 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55797 | neal.norwitz | 2007-06-07 00:00:57 -0700 (Thu, 07 Jun 2007) | 3 lines Get rid of some remnants of classic classes. types.ClassType == type. Also get rid of almost all uses of the types module and use the builtin name. ........ r55798 | neal.norwitz | 2007-06-07 00:12:36 -0700 (Thu, 07 Jun 2007) | 1 line Remove a use of types, verify commit hook works ........ r55809 | guido.van.rossum | 2007-06-07 11:11:29 -0700 (Thu, 07 Jun 2007) | 2 lines Fix syntax error introduced by Neal in last checkin. ........ | ||||
* | Rename 'unicode' to 'str' in its tp_name field. Rename 'str' to 'str8'. | Guido van Rossum | 2007-05-03 | 1 | -1/+1 |
| | | | | Change all occurrences of unichr to chr. | ||||
* | Fix most trivially-findable print statements. | Guido van Rossum | 2007-02-09 | 1 | -9/+9 |
| | | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.) | ||||
* | Rip out 'long' and 'L'-suffixed integer literals. | Guido van Rossum | 2007-01-15 | 1 | -3/+3 |
| | | | | (Rough first cut.) |