[issue31714] Improve re documentation

2017-10-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue31714] Improve re documentation

2017-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 69ed5b61e7d2bdaf2dc6684061f737adc24a96ae by Serhiy Storchaka in branch '3.6': [3.6] bpo-31714: Improved regular expression documentation. (GH-3907). (#3994) https://github.com/python/cpython/commit/69ed5b61e7d2bdaf2dc6684061f737adc24a96ae ---

[issue31714] Improve re documentation

2017-10-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +3970 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue31714] Improve re documentation

2017-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset cd195e2a7ac5c9b2574d5462752b7939641de4a9 by Serhiy Storchaka in branch 'master': bpo-31714: Improved regular expression documentation. (#3907) https://github.com/python/cpython/commit/cd195e2a7ac5c9b2574d5462752b7939641de4a9 -- _

[issue31714] Improve re documentation

2017-10-06 Thread Brian Ward
Brian Ward added the comment: In re.rst, the instances of "Correcsponds the" should be "Corresponds to the" and "Doesn't have correcsponding inline flag" should be "No corresponding inline flag." -- nosy: +Brian Ward ___ Python tracker

[issue31714] Improve re documentation

2017-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is explained in the documentation: """ (In the rest of this section, we'll write RE's in ``this special style``, usually without quotes, and strings to be matched ``'in single quotes'``.) """ -- ___ Python trac

[issue31714] Improve re documentation

2017-10-06 Thread Ezio Melotti
Ezio Melotti added the comment: ISTM that ``x`` is used when x is a regex or regex metachar, whereas ``'x'`` is used when 'x' is a string. I find this distinction reasonable. -- ___ Python tracker _

[issue31714] Improve re documentation

2017-10-06 Thread Henk-Jaap Wagenaar
Henk-Jaap Wagenaar added the comment: I was looking at your changes and got myself in a muddle. What is you rational for when you use ``[character or string]`` versus ``'[character or string]``? You seem to be creating consistency there, but I cannot quite see the rules you are aiming for! -

[issue31714] Improve re documentation

2017-10-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue31714] Improve re documentation

2017-10-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +3878 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue31714] Improve re documentation

2017-10-06 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR improves the documentation of re module and Regular Expression HOWTO. * Clarify the effect of the LOCALE flag. * Remove outdated statements. * Add an example of escaping a replacement string. * Add or correct some references. * Improve