summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_re.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22838: All test_re tests now work with unittest test discovery.Serhiy Storchaka2014-12-011-83/+63
|
* backout 9fcf4008b626 (#9179) for further considerationBenjamin Peterson2014-11-301-37/+1
|
* Issue #12728: Different Unicode characters having the same uppercase butSerhiy Storchaka2014-11-101-0/+51
| | | | different lowercase are now matched in case-insensitive regular expressions.
* Issues #814253, #9179: Group references and conditional group references nowSerhiy Storchaka2014-11-071-1/+37
| | | | work in lookbehind assertions in regular expressions.
* Issue #17381: Fixed handling of case-insensitive ranges in regular expressions.Serhiy Storchaka2014-10-311-0/+19
|
* Issue #22410: Module level functions in the re module now cache compiledSerhiy Storchaka2014-10-301-0/+37
| | | | locale-dependent regular expressions taking into account the locale.
* Fixed bytes literals in tests.Serhiy Storchaka2014-09-231-2/+2
|
* Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the reSerhiy Storchaka2014-09-211-6/+23
| | | | module.
* Restored re pickling test.Serhiy Storchaka2014-09-151-5/+9
|
* Use more appropriate asserts in re tests.Serhiy Storchaka2014-09-141-115/+115
|
* Fixed re tests incorrectly ported from 2.x to 3.x.Serhiy Storchaka2014-09-141-22/+27
|
* Issue #20998: Fixed re.fullmatch() of repeated single character patternSerhiy Storchaka2014-05-141-0/+5
| | | | with ignore case. Original patch by Matthew Barnett.
* 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.