summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_re.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-0/+18
|\ | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
| * Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-0/+16
| | | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
* | Issue #20426: When passing the re.DEBUG flag, re.compile() displays the ↵Antoine Pitrou2014-02-031-1/+13
|\ \ | |/ | | | | debug output every time it is called, regardless of the compilation cache.
| * Issue #20426: When passing the re.DEBUG flag, re.compile() displays the ↵Antoine Pitrou2014-02-031-1/+14
| | | | | | | | debug output every time it is called, regardless of the compilation cache.
* | Issue #16203: Add re.fullmatch() function and regex.fullmatch() method,Serhiy Storchaka2013-11-231-0/+30
| | | | | | | | | | | | which anchor the pattern at both ends of the string to match. Original patch by Matthew Barnett.
* | Issue #13592: Improved the repr for regular expression pattern objects.Serhiy Storchaka2013-11-231-0/+62
| | | | | | | | Based on patch by Hugo Lopes Tavares.
* | Issue #18685: Restore re performance to pre-PEP 393 levels.Serhiy Storchaka2013-10-261-0/+23
| |
* | Issue #19387: explain and test the sre overlap tableAntoine Pitrou2013-10-251-3/+19
| |
* | Issue #19327: Fixed the working of regular expressions with too big charset.Serhiy Storchaka2013-10-241-0/+3
|\ \ | |/
| * Issue #19327: Fixed the working of regular expressions with too big charset.Serhiy Storchaka2013-10-241-0/+3
| |
* | Issue #17087: Improved the repr for regular expression match objects.Serhiy Storchaka2013-10-201-0/+22
| |
* | Issue #18468: The re.split, re.findall, and re.sub functions and the group()Serhiy Storchaka2013-10-161-14/+68
| | | | | | | | | | and groups() methods of match object now always return a string or a bytes object.
* | Back out accidentally pushed changeset b51218966201.Georg Brandl2013-10-131-24/+0
| |
* | Add re.fullmatch() function and regex.fullmatch() method, which anchor theGeorg Brandl2013-10-131-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 Storchaka2013-08-191-0/+10
| | | | | | Patch by Meador Inge. See also issue #18647.
* Issue #17998: Fix an internal error in regular expression engine.Serhiy Storchaka2013-08-031-0/+10
|
* #17341: Include name in re error message about invalid group name.R David Murray2013-04-141-0/+11
| | | | Patch by Jason Michalski.
* Closes #14462: allow any valid Python identifier in sre group names, as ↵Georg Brandl2013-04-141-0/+8
| | | | documented.
* #12749: add a test for non-BMP ranges in character classes.Ezio Melotti2013-02-231-0/+1
|
* Issue #9669: Protect re against infinite loops on zero-width matching inSerhiy Storchaka2013-02-161-0/+9
|\ | | | | | | non-greedy repeat. Patch by Matthew Barnett.
| * Issue #9669: Protect re against infinite loops on zero-width matching inSerhiy Storchaka2013-02-161-0/+9
| | | | | | | | non-greedy repeat. Patch by Matthew Barnett.
* | Issue #13169: The maximal repetition number in a regular expression has beenSerhiy Storchaka2013-02-161-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 beenSerhiy Storchaka2013-02-161-1/+33
| | | | | | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
* | #13899: merge with 3.2.Ezio Melotti2013-01-111-0/+6
|\ \ | |/
| * #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when ↵Ezio Melotti2013-01-111-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 Storchaka2012-12-291-0/+5
| | | | | | | | | | | | non-ASCII strings. Patch by Matthew Barnett.
* | Fix test splitting in previous commit.Antoine Pitrou2012-12-031-4/+2
|\ \ | |/
| * Fix test splitting in previous commit.Antoine Pitrou2012-12-031-4/+2
| |
* | Split the bigmem re test in two separate tests with different memory ↵Antoine Pitrou2012-12-031-2/+9
|\ \ | |/ | | | | requirements.
| * Split the bigmem re test in two separate tests with different memory ↵Antoine Pitrou2012-12-031-2/+12
| | | | | | | | requirements.
* | Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-1/+16
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-1/+16
| | | | | | | | Patch by Serhiy Storchaka.
* | Merge test from issue #1160.Antoine Pitrou2012-11-201-0/+6
|\ \ | |/
| * Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou2012-11-201-0/+6
| | | | | | | | Patch by Serhiy Storchaka.
* | #12759: merge with 3.2.Ezio Melotti2012-11-031-0/+20
|\ \ | |/
| * #12759: sre_parse now raises a proper error when the name of the group is ↵Ezio Melotti2012-11-031-0/+20
| | | | | | | | missing. Initial patch by Serhiy Storchaka.
* | Issue #3665: \u and \U escapes are now supported in unicode regular expressions.Antoine Pitrou2012-06-231-15/+83
| | | | | | | | Patch by Serhiy Storchaka.
* | closes #14259 re.finditer() now takes keyword arguments: pos, endpos.Sean Reifschneider2012-03-131-0/+20
| | | | | | | | | | Contrary to the documentation, finditer() did not take pos and endpos keyword arguments.
* | #14179: merge with 3.2.Ezio Melotti2012-03-121-0/+10
|\ \ | |/
| * #14179: add tests for re.compile. Patch by Florian Mladitsch.Ezio Melotti2012-03-121-0/+10
| |
* | merge 3.2 (#14212)Benjamin Peterson2012-03-071-1/+13
|\ \ | |/
| * keep the buffer object around while we're using it (closes #14212)Benjamin Peterson2012-03-071-1/+13
| |
* | #10713: merge with 3.2.Ezio Melotti2012-02-291-0/+26
|\ \ | |/
| * #10713: Improve documentation for \b and \B and add a few tests. Initial ↵Ezio Melotti2012-02-291-0/+26
| | | | | | | | patch and tests by Martin Pool.
* | Implement PEP 393.Martin v. Löwis2011-09-281-0/+7
| |
* | #2650: re.escape() no longer escapes the "_".Ezio Melotti2011-04-101-2/+2
|/
* #2650: Merge with 3.1.Ezio Melotti2011-03-251-22/+55
|\
| * #2650: Add tests with non-ascii chars for re.escape.Ezio Melotti2011-03-251-0/+16
| |
| * #2650: Refactor the tests for re.escape.Ezio Melotti2011-03-251-22/+40
| |
* | #11515: Merge with 3.1.Ezio Melotti2011-03-151-1/+1
|\ \ | |/