Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-44940: Clarify the documentation of re.findall() (GH-27849) | Miss Islington (bot) | 2021-08-22 | 1 | -4/+14 |
| | | | | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Vedran Čačić <vedgar+github@gmail.com> (cherry picked from commit 64f9e7b19dc1603fcbd07c17c9860085b9d21465) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478) | Miss Islington (bot) | 2021-07-30 | 1 | -2/+2 |
| | | | | | (cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c) Co-authored-by: Noah Kantrowitz <noah@coderanger.net> | ||||
* | Minor modernization and readability improvement to the tokenizer example ↵ | Raymond Hettinger | 2020-04-17 | 1 | -2/+6 |
| | | | | (GH-19558) | ||||
* | bpo-38294: Add list of no-longer-escaped chars to re.escape documentation. ↵ | Ricardo Bánffy | 2019-10-07 | 1 | -3/+5 |
| | | | | | | | | | (GH-16442) Prior to 3.7, re.escape escaped many characters that don't have special meaning in Python, but that use to require escaping in other tools and languages. This commit aims to make it clear which characters were, but are no longer escaped. | ||||
* | Doc: Fix missing negation. (GH-14640) | Julien Palard | 2019-09-11 | 1 | -2/+2 |
| | | | | | | | Reported by Hug Capella on docs@. Automerge-Triggered-By: @matrixise | ||||
* | Fix typo in re.escape documentation (GH-14722) | Robert DiPietro | 2019-07-13 | 1 | -1/+1 |
| | |||||
* | bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) | mollison | 2019-04-21 | 1 | -0/+1 |
| | |||||
* | bpo-28450: Fix and improve the documentation for unknown escapes in RE. ↵ | Serhiy Storchaka | 2019-02-25 | 1 | -2/+5 |
| | | | | (GH-11920) | ||||
* | bpo-34294: re module, fix wrong capturing groups in rare cases. (GH-11546) | animalize | 2019-02-18 | 1 | -0/+2 |
| | | | | | | Need to reset capturing groups between two SRE(match) callings in loops, this fixes wrong capturing groups in rare cases. Also add a missing index in re.rst. | ||||
* | Add information about DeprecationWarning for invalid escaped characters in ↵ | Pablo Galindo | 2019-01-20 | 1 | -1/+4 |
| | | | | the re module (GH-5255) | ||||
* | Cleanup and improve the regex tokenizer example. (GH-10426) | Raymond Hettinger | 2018-11-09 | 1 | -36/+38 |
| | | | | | | | | | | | 1) Convert weird field name "typ" to the more standard "type". 2) For the NUMBER type, convert the value to an int() or float(). 3) Simplify ``group(kind)`` to the shorter and faster ``group()`` call. 4) Simplify logic go a single if-elif chain to make this easier to extend. 5) Reorder the tests to match the order the tokens are specified. This isn't necessary for correctness but does make the example easier to follow. 6) Move the "column" calculation before the if-elif chain so that users have the option of using this value in error messages. | ||||
* | bpo-35054: Add yet more index entries for symbols. (GH-10121) | Serhiy Storchaka | 2018-10-28 | 1 | -19/+16 |
| | |||||
* | bpo-35054: Add more index entries for symbols. (GH-10064) | Serhiy Storchaka | 2018-10-26 | 1 | -0/+100 |
| | |||||
* | bpo-34962: make doctest in Doc/ now passes, and is enforced in CI (GH-9806) | Stéphane Wirtel | 2018-10-12 | 1 | -7/+6 |
| | |||||
* | Correct grammar mistake in re.rst. (GH-9745) | Andrés Delfino | 2018-10-06 | 1 | -1/+1 |
| | |||||
* | bpo-33892: Doc: Use gender neutral words (GH-7770) | Andrés Delfino | 2018-06-18 | 1 | -4/+4 |
| | |||||
* | bpo-33503: Fix the broken pypi link in the source and the documentation ↵ | Stéphane Wirtel | 2018-05-15 | 1 | -1/+1 |
| | | | | (GH-6814) | ||||
* | Fix a reference to the MRE book in re docs (GH-1113) | Berker Peksag | 2018-03-23 | 1 | -10/+8 |
| | | | Reported by Maksym Nikulyak on docs.p.o. | ||||
* | bpo-30688: Support \N{name} escapes in re patterns. (GH-5588) | Serhiy Storchaka | 2018-02-09 | 1 | -3/+6 |
| | | | Co-authored-by: Jonathan Eunice <jonathan.eunice@gmail.com> | ||||
* | bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265) | Cheryl Sabella | 2018-02-02 | 1 | -1/+1 |
| | | | | 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. | ||||
* | bpo-32308: Replace empty matches adjacent to a previous non-empty match in ↵ | Serhiy Storchaka | 2018-01-04 | 1 | -4/+10 |
| | | | | re.sub(). (#4846) | ||||
* | bpo-25054, bpo-1647489: Added support of splitting on zerowidth patterns. ↵ | Serhiy Storchaka | 2017-12-04 | 1 | -30/+16 |
| | | | | | | (#4471) Also fixed searching patterns that could match an empty string. | ||||
* | Use raw strings in the re module examples. (#4616) | Serhiy Storchaka | 2017-11-28 | 1 | -4/+4 |
| | |||||
* | bpo-30349: Raise FutureWarning for nested sets and set operations (#1553) | Serhiy Storchaka | 2017-11-16 | 1 | -1/+15 |
| | | | | in regular expressions. | ||||
* | bpo-15606: Improve the re.VERBOSE documentation. (#4366) | Serhiy Storchaka | 2017-11-14 | 1 | -1/+2 |
| | |||||
* | bpo-31690: Allow the inline flags "a", "L", and "u" to be used as group ↵ | Serhiy Storchaka | 2017-10-24 | 1 | -28/+30 |
| | | | | flags for RE. (#3885) | ||||
* | bpo-31714: Improved regular expression documentation. (#3907) | Serhiy Storchaka | 2017-10-14 | 1 | -102/+133 |
| | |||||
* | bpo-30397: Add re.Pattern and re.Match. (#1646) | Serhiy Storchaka | 2017-10-04 | 1 | -52/+52 |
| | |||||
* | bpo-26656: Improve re.compile documentation (GH-3211) | Henk-Jaap Wagenaar | 2017-08-28 | 1 | -3/+4 |
| | | | | | - Link to the regular expressions object documentation - Clarify that it can be used with more than the two methods currently stated. | ||||
* | bpo-30398: Add a docstring for re.error. (#1647) | Serhiy Storchaka | 2017-05-27 | 1 | -3/+3 |
| | | | Also document that some attributes may be None. | ||||
* | Added effect of re.ASCII and reworded slightly (#1782) | Brian Ward | 2017-05-24 | 1 | -3/+5 |
| | |||||
* | bpo-30215: Make re.compile() locale agnostic. (#1361) | Serhiy Storchaka | 2017-05-05 | 1 | -0/+5 |
| | | | | | | Compiled regular expression objects with the re.LOCALE flag no longer depend on the locale at compile time. Only the locale at matching time affects the result of matching. | ||||
* | bpo-10076: Compiled regular expression and match objects now are copyable. ↵ | Serhiy Storchaka | 2017-04-16 | 1 | -0/+10 |
| | | | | (#1000) | ||||
* | bpo-29995: re.escape() now escapes only special characters. (#1007) | Serhiy Storchaka | 2017-04-13 | 1 | -3/+7 |
| | |||||
* | bpo-30021: Add examples for re.escape(). (#1048) | Serhiy Storchaka | 2017-04-13 | 1 | -3/+14 |
| | | | | And fix the parameter name. | ||||
* | bpo-22594: Add a link to the regex module in re documentation (GH-241) | Marco Buttu | 2017-02-26 | 1 | -0/+6 |
| | |||||
* | merge | Raymond Hettinger | 2017-02-06 | 1 | -1/+1 |
|\ | |||||
| * | Substitute a more readable f-string | Raymond Hettinger | 2017-02-06 | 1 | -1/+1 |
| | | |||||
| * | Fix typos in comment and documentation | Martin Panter | 2016-12-10 | 1 | -1/+1 |
| | | |||||
* | | Merge documentation for issue #27030 from 3.6. | Serhiy Storchaka | 2016-12-06 | 1 | -1/+6 |
|\ \ | |/ | |||||
| * | Issue #27030: Unknown escapes in re.sub() replacement template are allowed | Serhiy Storchaka | 2016-12-06 | 1 | -1/+6 |
|/ | | | | again. But they still are deprecated and will be disabled in 3.7. | ||||
* | closes issue28082: doc update and NEWS entry | Ethan Furman | 2016-11-21 | 1 | -0/+3 |
| | |||||
* | Issue #27800: Merge RE repetition doc from 3.5 into 3.6 | Martin Panter | 2016-10-15 | 1 | -0/+6 |
|\ | |||||
| * | Issue #27800: Document limitation and workaround for multiple RE repetitions | Martin Panter | 2016-10-15 | 1 | -0/+6 |
| | | |||||
| * | Issue #27327: fix doc typo, noted by Jakub Wilk. | Ned Deily | 2016-06-15 | 1 | -1/+1 |
| | | |||||
* | | Issue 24454: Improve the usability of the re match object named group API | Eric V. Smith | 2016-09-11 | 1 | -0/+16 |
| | | |||||
* | | Issue #22493: Inline flags now should be used only at the start of the | Serhiy Storchaka | 2016-09-11 | 1 | -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 yet | Zachary Ware | 2016-09-09 | 1 | -1/+1 |
| | | |||||
* | | repair versionadded directive | Benjamin Peterson | 2016-09-09 | 1 | -1/+1 |
| | | |||||
* | | Issue #433028: Added support of modifier spans in regular expressions. | Serhiy Storchaka | 2016-09-09 | 1 | -0/+10 |
| | |