summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_re.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #24580: Symbolic group references to open group in re patterns now areSerhiy Storchaka2015-07-181-0/+2
| | | | explicitly forbidden as well as numeric group references.
* Issue #14260: The groupindex attribute of regular expression pattern objectSerhiy Storchaka2015-03-291-0/+8
| | | | now is non-modifiable mapping.
* Issue #22364: Improved some re error messages using regex for hints.Serhiy Storchaka2015-03-251-74/+179
|
* Issue #23622: Unknown escapes in regular expressions that consist of ``'\'``Serhiy Storchaka2015-03-241-13/+30
| | | | | 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 nowSerhiy Storchaka2015-02-211-1/+41
| | | | work in lookbehind assertions in regular expressions.
* Issue #22818: Splitting on a pattern that could match an empty string nowSerhiy Storchaka2015-02-031-9/+30
| | | | | raises a warning. Patterns that can only match empty strings are now rejected.
* Issue #21032: Deprecated the use of re.LOCALE flag with str patterns orSerhiy Storchaka2014-12-011-16/+66
| | | | re.ASCII. It was newer worked.
* Issue #22838: All test_re tests now work with unittest test discovery.Serhiy Storchaka2014-12-011-83/+63
|\
| * Issue #22838: All test_re tests now work with unittest test discovery.Serhiy Storchaka2014-12-011-83/+63
| |
* | merge 3.4 (#9179)Benjamin Peterson2014-11-301-37/+1
|\ \ | |/
| * backout 9fcf4008b626 (#9179) for further considerationBenjamin Peterson2014-11-301-37/+1
| |
* | Minor code clean up and improvements in the re module.Serhiy Storchaka2014-11-111-2/+2
| |
* | Fixed AttributeError when the regular expression starts from illegal escape.Serhiy Storchaka2014-11-101-0/+14
| |
* | Issue #22578: Added attributes to the re.error class.Serhiy Storchaka2014-11-101-0/+36
| |
* | 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.
| * 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.
* | Issue #22434: Constants in sre_constants are now named constants (enum-like).Serhiy Storchaka2014-11-091-16/+16
| |
* | Issues #814253, #9179: Group references and conditional group references nowSerhiy Storchaka2014-11-071-1/+37
|\ \ | |/ | | | | work in lookbehind assertions in 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 #17381: Fixed handling of case-insensitive ranges in regular expressions.Serhiy Storchaka2014-10-311-0/+19
| | | | | | | | Added new opcode RANGE_IGNORE.
* | 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.
| * 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.
* | Issue #11957: Explicit parameter name when calling re.split() and re.sub()Victor Stinner2014-10-291-7/+7
| |
* | Issue 1519638: Now unmatched groups are replaced with empty strings in re.sub()Serhiy Storchaka2014-10-101-2/+8
| | | | | | | | and re.subn().
* | Issue #22437: Number of capturing groups in regular expression is no longerSerhiy Storchaka2014-09-291-2/+16
| | | | | | | | limited by 100.
* | Issue #22362: Forbidden ambiguous octal escapes out of range 0-0o377 inSerhiy Storchaka2014-09-231-5/+7
|/ | | | regular expressions.
* 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.