mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-433030: Add support of atomic grouping in regular expressions (GH-31982)
* Atomic grouping: (?>...). * Possessive quantifiers: x++, x*+, x?+, x{m,n}+. Equivalent to (?>x+), (?>x*), (?>x?), (?>x{m,n}). Co-authored-by: Jeffrey C. Jacobs <timehorse@users.sourceforge.net>
This commit is contained in:
parent
2bde6827ea
commit
345b390ed6
11 changed files with 593 additions and 92 deletions
|
@ -295,6 +295,12 @@ os
|
|||
instead of ``CryptGenRandom()`` which is deprecated.
|
||||
(Contributed by Dong-hee Na in :issue:`44611`.)
|
||||
|
||||
re
|
||||
--
|
||||
|
||||
* Atomic grouping (``(?>...)``) and possessive qualifiers (``*+``, ``++``,
|
||||
``?+``, ``{m,n}+``) are now supported in regular expressions.
|
||||
(Contributed by Jeffrey C. Jacobs and Serhiy Storchaka in :issue:`433030`.)
|
||||
|
||||
shutil
|
||||
------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue