summaryrefslogtreecommitdiffstats
path: root/Doc/library/re.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-32614: Modify re examples to use a raw string to prevent wa… ↵Terry Jan Reedy2018-02-021-1/+1
| | | | | | | | | …rning (GH-5265) (GH-5500) Modify RE examples in documentation to use raw strings to prevent DeprecationWarning. Add text to REGEX HOWTO to highlight the deprecation. Approved by Serhiy Storchaka. (cherry picked from commit 66771422d0541289d0b1287bc3c28e8b5609f6b4)
* bpo-32211: Document the existing bug in re.findall() and re.finditer(). (#4695)Serhiy Storchaka2018-01-041-4/+10
|
* Use raw strings in the re module examples. (GH-4616) (#4617)Miss Islington (bot)2017-11-281-4/+4
| | | (cherry picked from commit c615be5166ed338c052fa67fe781b9bfe0dfb78c)
* bpo-15606: Improve the re.VERBOSE documentation. (GH-4366) (#4394)Miss Islington (bot)2017-11-141-1/+2
| | | (cherry picked from commit b0b44b4b3337297007f5ef87220a75df204399f8)
* [3.6] bpo-31714: Improved regular expression documentation. (GH-3907). (#3994)Serhiy Storchaka2017-10-141-102/+133
| | | (cherry picked from commit cd195e2a7ac5c9b2574d5462752b7939641de4a9)
* [3.6] Added effect of re.ASCII and reworded slightly (GH-1782) (#3313)Gregory P. Smith2017-09-041-3/+5
| | | (cherry picked from commit c9d6dbc2900ace9564b8f67e63617be747355c6b)
* [3.6] bpo-26656: Improve re.compile documentation (GH-3211) (GH-3225)Mariatta2017-08-281-3/+4
| | | | | - Link to the regular expressions object documentation - Clarify that it can be used with more than the two methods currently stated. (cherry picked from commit ed94a8b2851914bcda3a77b28b25517b8baa91e6)
* [3.6] bpo-30398: Add a docstring for re.error. (GH-1647) (#1830)Serhiy Storchaka2017-05-271-3/+3
| | | | Also document that some attributes may be None. (cherry picked from commit 12d6b5d)
* bpo-30021: Add examples for re.escape(). (#1048) (#1115)Serhiy Storchaka2017-04-131-3/+14
| | | | | And fix the parameter name. (cherry picked from commit 8fc7bc2b7631ee819ee614e47b6f44bacebe1574)
* bpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-316)Mariatta2017-02-261-0/+6
| | | (cherry picked from commit ed6795e46f7653e23b862efad240a93453e7df97)
* Substitute a more readable f-stringRaymond Hettinger2017-02-061-1/+1
|
* Fix typos in comment and documentationMartin Panter2016-12-101-1/+1
|
* Issue #27030: Unknown escapes in re.sub() replacement template are allowedSerhiy Storchaka2016-12-061-1/+6
| | | | again. But they still are deprecated and will be disabled in 3.7.
* closes issue28082: doc update and NEWS entryEthan Furman2016-11-211-0/+3
|
* Issue #27800: Merge RE repetition doc from 3.5 into 3.6Martin Panter2016-10-151-0/+6
|\
| * Issue #27800: Document limitation and workaround for multiple RE repetitionsMartin Panter2016-10-151-0/+6
| |
| * Issue #27327: fix doc typo, noted by Jakub Wilk.Ned Deily2016-06-151-1/+1
| |
* | Issue 24454: Improve the usability of the re match object named group APIEric V. Smith2016-09-111-0/+16
| |
* | Issue #22493: Inline flags now should be used only at the start of theSerhiy Storchaka2016-09-111-6/+2
| | | | | | | | | | regular expression. Deprecation warning is emitted if uses them in the middle of the regular expression.
* | We're not that far in the future yetZachary Ware2016-09-091-1/+1
| |
* | repair versionadded directiveBenjamin Peterson2016-09-091-1/+1
| |
* | Issue #433028: Added support of modifier spans in regular expressions.Serhiy Storchaka2016-09-091-0/+10
| |
* | Add grammatical article to “an ASCII letter”Martin Panter2016-06-121-3/+3
| |
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+4
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+4
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | Issue #27030: Unknown escapes consisting of ``'\'`` and ASCII letter inSerhiy Storchaka2016-06-111-12/+11
|/ | | | regular expressions now are errors.
* Issue #21593: Clarify that re.search() returns the first matchBerker Peksag2016-06-081-2/+2
|
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-15/+15
| | | | Original patch by James Edwards.
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-1/+1
| | | | This affects documentation, code comments, and a debugging messages.
* Clarify greedy-qualifier example, avoid HTML.Georg Brandl2016-04-121-4/+4
|
* Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-1/+1
| | | | to SilentGhost for the patch.
* Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.Georg Brandl2016-02-251-1/+1
|
* Merge with 3.4Zachary Ware2015-11-121-7/+9
|\
| * Rewrite re.VERBOSE section.Zachary Ware2015-11-121-7/+9
| | | | | | | | | | | | | | It now has slightly better rationale and a less awkward wording in the explanation. Inspired by a report of a neither/or conflict by 'animalize' on docs@.
| * Issues #814253, #9179: Warnings now are raised when group references andSerhiy Storchaka2015-02-211-2/+5
| | | | | | | | | | conditional group references are used in lookbehind assertions in regular expressions.
* | Issue #23622: Unknown escapes in regular expressions that consist of ``'\'``Serhiy Storchaka2015-03-241-1/+9
| | | | | | | | | | 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-0/+3
| | | | | | | | work in lookbehind assertions in regular expressions.
* | Issue #22818: Splitting on a pattern that could match an empty string nowSerhiy Storchaka2015-02-031-6/+26
| | | | | | | | | | 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-1/+5
| | | | | | | | re.ASCII. It was newer worked.
* | Issue #22578: Added attributes to the re.error class.Serhiy Storchaka2014-11-101-2/+25
| |
* | merge with 3.4Georg Brandl2014-10-281-7/+8
|\ \ | |/
| * Closes #22736: move seealso to the bottom of the section about RE syntax.Georg Brandl2014-10-281-7/+8
| |
* | Issue 1519638: Now unmatched groups are replaced with empty strings in re.sub()Serhiy Storchaka2014-10-101-0/+8
|/ | | | and re.subn().
* Remove unused leftover stray lineRaymond Hettinger2014-08-041-1/+0
|
* Improve regex tokenizer example by using re.finditer().Raymond Hettinger2014-08-041-37/+38
| | | | | Also, improve variable names and fix column numbers in the generated output.
* Issue 21977: Minor improvements to the regexes in the tokenizer example.Raymond Hettinger2014-07-141-2/+2
|
* #21690: fix a couple of links in the docs of the re module. Noticed by ↵Ezio Melotti2014-06-191-2/+2
| | | | Julian Gilbey.
* Issue #21593: (from StackOverflow) minor doc clarification for re.search.Terry Jan Reedy2014-05-301-1/+1
|
* Removed spaces before commas and periods.Serhiy Storchaka2013-12-231-1/+1
|\
| * Removed spaces before commas and periods.Serhiy Storchaka2013-12-231-1/+1
| |