[issue28136] RegEx documentation error

2016-09-13 Thread triuan
triuan added the comment: thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28136] RegEx documentation error

2016-09-13 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue28136] RegEx documentation error

2016-09-13 Thread Christian Heimes
Christian Heimes added the comment: The documentation is correct. It explains the difference between a default match (greedy) and a non-greedy match. >>> re.match('(a{3,5})', 'a').group(1) 'a' >>> re.match('(a{3,5}?)', 'a').group(1) 'aaa' -- nosy: +christian.heimes

[issue28136] RegEx documentation error

2016-09-13 Thread triuan
triuan added the comment: https://docs.python.org/2/library/re.html error: ...string 'aa', a{3,5} will match 5 'a' characters... suggest correction 2: ...string 'aa', a{3, 5} will match 3 to 5 'a' characters... -- ___ Python tracker

[issue28136] RegEx documentation error

2016-09-13 Thread triuan
New submission from triuan: https://docs.python.org/2/library/re.html error: ...string 'aa', a{3,5} will match 5 'a' characters... suggest correction: ...string 'aa', a{5} will match 5 'a' characters... -- assignee: docs@python components: Documentation messages: 276336 nosy: