This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Typo in regex documentation
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: David Rager, docs@python, georg.brandl, python-dev
Priority: normal Keywords:

Created on 2016-02-17 21:43 by David Rager, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg260411 - (view) Author: David Rager (David Rager) Date: 2016-02-17 21:43
In the following sentence, "few" should probably be "fewer."

"Repetitions such as * are greedy; when repeating a RE, the matching engine will try to repeat it as many times as possible. If later portions of the pattern don’t match, the matching engine will then back up and try again with few repetitions."

https://docs.python.org/2/howto/regex.html

Thanks for such a great language and documentation!  My apologies if this isn't actually a typo.
msg260436 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-02-18 07:43
New changeset c272a1e53f5b by Benjamin Peterson in branch '2.7':
fix typo (closes #26378)
https://hg.python.org/cpython/rev/c272a1e53f5b

New changeset 69717fdd9d5a by Benjamin Peterson in branch '3.5':
fix typo (closes #26378)
https://hg.python.org/cpython/rev/69717fdd9d5a

New changeset 6f0d3ae9f1f3 by Benjamin Peterson in branch 'default':
merge 3.5 (#26378)
https://hg.python.org/cpython/rev/6f0d3ae9f1f3
msg260439 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2016-02-18 08:13
Thanks for the report!
History
Date User Action Args
2022-04-11 14:58:27adminsetgithub: 70566
2016-02-18 08:13:42georg.brandlsetnosy: + georg.brandl
messages: + msg260439
2016-02-18 07:43:20python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg260436

resolution: fixed
stage: resolved
2016-02-17 21:43:04David Ragercreate