Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Back out accidentally pushed changeset b51218966201. | Georg Brandl | 2013-10-13 | 1 | -24/+0 | |
| | | ||||||
* | | Add re.fullmatch() function and regex.fullmatch() method, which anchor the | Georg Brandl | 2013-10-13 | 1 | -0/+24 | |
|/ | | | | | | | pattern at both ends of the string to match. Patch by Matthew Barnett. Closes #16203. | |||||
* | Issue #2537: Remove breaked check which prevented valid regular expressions. | Serhiy Storchaka | 2013-08-19 | 1 | -0/+10 | |
| | | | | | | Patch by Meador Inge. See also issue #18647. | |||||
* | Issue #17998: Fix an internal error in regular expression engine. | Serhiy Storchaka | 2013-08-03 | 1 | -0/+10 | |
| | ||||||
* | #17341: Include name in re error message about invalid group name. | R David Murray | 2013-04-14 | 1 | -0/+11 | |
| | | | | Patch by Jason Michalski. | |||||
* | Closes #14462: allow any valid Python identifier in sre group names, as ↵ | Georg Brandl | 2013-04-14 | 1 | -0/+8 | |
| | | | | documented. | |||||
* | #12749: add a test for non-BMP ranges in character classes. | Ezio Melotti | 2013-02-23 | 1 | -0/+1 | |
| | ||||||
* | Issue #9669: Protect re against infinite loops on zero-width matching in | Serhiy Storchaka | 2013-02-16 | 1 | -0/+9 | |
|\ | | | | | | | non-greedy repeat. Patch by Matthew Barnett. | |||||
| * | Issue #9669: Protect re against infinite loops on zero-width matching in | Serhiy Storchaka | 2013-02-16 | 1 | -0/+9 | |
| | | | | | | | | non-greedy repeat. Patch by Matthew Barnett. | |||||
* | | Issue #13169: The maximal repetition number in a regular expression has been | Serhiy Storchaka | 2013-02-16 | 1 | -1/+33 | |
|\ \ | |/ | | | | | | | 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 | -1/+33 | |
| | | | | | | | | | | 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 | -0/+6 | |
|\ \ | |/ | ||||||
| * | #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when ↵ | Ezio Melotti | 2013-01-11 | 1 | -0/+6 | |
| | | | | | | | | used inside character classes (e.g. [A]). Patch by Matthew Barnett. | |||||
* | | Issue #16688: Fix backreferences did make case-insensitive regex fail on ↵ | Serhiy Storchaka | 2012-12-29 | 1 | -0/+5 | |
| | | | | | | | | | | | | non-ASCII strings. Patch by Matthew Barnett. | |||||
* | | Fix test splitting in previous commit. | Antoine Pitrou | 2012-12-03 | 1 | -4/+2 | |
|\ \ | |/ | ||||||
| * | Fix test splitting in previous commit. | Antoine Pitrou | 2012-12-03 | 1 | -4/+2 | |
| | | ||||||
* | | Split the bigmem re test in two separate tests with different memory ↵ | Antoine Pitrou | 2012-12-03 | 1 | -2/+9 | |
|\ \ | |/ | | | | | requirements. | |||||
| * | Split the bigmem re test in two separate tests with different memory ↵ | Antoine Pitrou | 2012-12-03 | 1 | -2/+12 | |
| | | | | | | | | requirements. | |||||
* | | Issue #10182: The re module doesn't truncate indices to 32 bits anymore. | Antoine Pitrou | 2012-12-02 | 1 | -1/+16 | |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | |||||
| * | Issue #10182: The re module doesn't truncate indices to 32 bits anymore. | Antoine Pitrou | 2012-12-02 | 1 | -1/+16 | |
| | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | Merge test from issue #1160. | Antoine Pitrou | 2012-11-20 | 1 | -0/+6 | |
|\ \ | |/ | ||||||
| * | Issue #1160: Fix compiling large regular expressions on UCS2 builds. | Antoine Pitrou | 2012-11-20 | 1 | -0/+6 | |
| | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | #12759: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -0/+20 | |
|\ \ | |/ | ||||||
| * | #12759: sre_parse now raises a proper error when the name of the group is ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+20 | |
| | | | | | | | | 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 | -15/+83 | |
| | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | closes #14259 re.finditer() now takes keyword arguments: pos, endpos. | Sean Reifschneider | 2012-03-13 | 1 | -0/+20 | |
| | | | | | | | | | | Contrary to the documentation, finditer() did not take pos and endpos keyword arguments. | |||||
* | | #14179: merge with 3.2. | Ezio Melotti | 2012-03-12 | 1 | -0/+10 | |
|\ \ | |/ | ||||||
| * | #14179: add tests for re.compile. Patch by Florian Mladitsch. | Ezio Melotti | 2012-03-12 | 1 | -0/+10 | |
| | | ||||||
* | | merge 3.2 (#14212) | Benjamin Peterson | 2012-03-07 | 1 | -1/+13 | |
|\ \ | |/ | ||||||
| * | keep the buffer object around while we're using it (closes #14212) | Benjamin Peterson | 2012-03-07 | 1 | -1/+13 | |
| | | ||||||
* | | #10713: merge with 3.2. | Ezio Melotti | 2012-02-29 | 1 | -0/+26 | |
|\ \ | |/ | ||||||
| * | #10713: Improve documentation for \b and \B and add a few tests. Initial ↵ | Ezio Melotti | 2012-02-29 | 1 | -0/+26 | |
| | | | | | | | | patch and tests by Martin Pool. | |||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -0/+7 | |
| | | ||||||
* | | #2650: re.escape() no longer escapes the "_". | Ezio Melotti | 2011-04-10 | 1 | -2/+2 | |
|/ | ||||||
* | #2650: Merge with 3.1. | Ezio Melotti | 2011-03-25 | 1 | -22/+55 | |
|\ | ||||||
| * | #2650: Add tests with non-ascii chars for re.escape. | Ezio Melotti | 2011-03-25 | 1 | -0/+16 | |
| | | ||||||
| * | #2650: Refactor the tests for re.escape. | Ezio Melotti | 2011-03-25 | 1 | -22/+40 | |
| | | ||||||
* | | #11515: Merge with 3.1. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | #11515: fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 | |
| | | ||||||
| * | Merged revisions 78729 via svnmerge from | Ezio Melotti | 2010-03-06 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r78729 | ezio.melotti | 2010-03-06 17:24:08 +0200 (Sat, 06 Mar 2010) | 1 line #6509: fix re.sub to work properly when the pattern, the string, and the replacement were all bytes. Patch by Antoine Pitrou. ........ | |||||
| * | Merged revisions 78664 via svnmerge from | Victor Stinner | 2010-03-04 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r78664 | victor.stinner | 2010-03-04 22:59:53 +0100 (jeu., 04 mars 2010) | 3 lines Issue #3299: replace PyObject_DEL() by Py_DECREF() in _sre module to fix a crash in pydebug mode. ........ | |||||
| * | Merged revisions 77708 via svnmerge from | Ezio Melotti | 2010-01-23 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77708 | ezio.melotti | 2010-01-23 12:49:39 +0200 (Sat, 23 Jan 2010) | 9 lines Merged revisions 77706 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77706 | ezio.melotti | 2010-01-23 12:43:05 +0200 (Sat, 23 Jan 2010) | 1 line Increased the overflow value on test_dealloc to make sure that it is big enough even for wide builds. ........ ................ | |||||
| * | Merged revisions 77501 via svnmerge from | Antoine Pitrou | 2010-01-14 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77501 | antoine.pitrou | 2010-01-14 18:34:48 +0100 (jeu., 14 janv. 2010) | 10 lines Merged revisions 77499 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77499 | antoine.pitrou | 2010-01-14 18:25:24 +0100 (jeu., 14 janv. 2010) | 4 lines Issue #3299: Fix possible crash in the _sre module when given bad argument values in debug mode. Patch by Victor Stinner. ........ ................ | |||||
| * | Merged revisions 73715 via svnmerge from | Georg Brandl | 2009-08-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line convert old fail* assertions to assert* ........ | |||||
| * | Merged revisions 74118 via svnmerge from | R. David Murray | 2009-07-21 | 1 | -3/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r74118 | r.david.murray | 2009-07-20 13:34:54 -0400 (Mon, 20 Jul 2009) | 5 lines Remove apparently unneeded and un-cleaned-up munging of sys.path from test_re. Tests pass on my machine without it, and I can't see any obvious place in the tests that would need it. ........ | |||||
* | | Reapply r83877. | Antoine Pitrou | 2010-08-13 | 1 | -62/+0 | |
| | | ||||||
* | | Revert r83877 in order to fix compilation | Antoine Pitrou | 2010-08-09 | 1 | -0/+62 | |
| | | ||||||
* | | reapply the revert made in r83875 | Senthil Kumaran | 2010-08-09 | 1 | -62/+0 | |
| | | | | | | | | | | | | | | | | | | Now the _collections is statically built, the build dependencies are in proper order and build works fine. Commit Log from r83874: Issue 9396. Apply functools.lru_cache in the place of the random flushing cache in the re module. | |||||
* | | Revert 83784 adding functools.lru_cache() to the re module. | Raymond Hettinger | 2010-08-09 | 1 | -0/+62 | |
| | | | | | | | | | | | | | | | | | | | | | | The problem is that the re module is imported by sysconfig and re needs functools which uses collections.OrderedDict() but the _collectionsmodule.c code is not yet constructed at this point in the build. The likely best solution will be to include _collections as part of the static build before the rest of the boot-strapping. | |||||
* | | Issue 9396. Apply functools.lru_cache in the place of the | Raymond Hettinger | 2010-08-09 | 1 | -62/+0 | |
| | | | | | | | | random flushing cache in the re module. |