mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Use \versionchanged, not \versionadded.
This commit is contained in:
parent
7829e5661c
commit
ec31047c0c
1 changed files with 1 additions and 1 deletions
|
@ -915,7 +915,7 @@ RuntimeError: maximum recursion limit exceeded
|
|||
|
||||
You can often restructure your regular expression to avoid recursion.
|
||||
|
||||
\versionadded[Simple uses of the \regexp{*?} pattern are now
|
||||
\versionchanged[Simple uses of the \regexp{*?} pattern are now
|
||||
special-cased to avoid recursion. Thus, the above regular expression
|
||||
can avoid recursion by being recast as \regexp{Begin [a-zA-Z0-9_ ]*?end}.
|
||||
As a further benefit, such regular expressions will run faster than
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue