[issue38975] Add direct anchors to regex syntax documentation

2019-12-09 Thread Baptiste Mispelon
Baptiste Mispelon added the comment: I've tried using subsection (level 3) for each syntax element and I'm not sure it's a big improvement. Pros: * Visible ¶ anchors which make it easier to copy/paste a reference link Cons: * headings have a slightly different style (bigger font, no

[issue38975] Add direct anchors to regex syntax documentation

2019-12-06 Thread Ned Deily
Change by Ned Deily : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38975] Add direct anchors to regex syntax documentation

2019-12-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: ¶ anchors are generated automatically for headers, but I don't know what the policy might be for items within section. It might be useful to add some subsection headers within the Regular Expression Syntax section. -- nosy: +serhiy.storchaka,

[issue38975] Add direct anchors to regex syntax documentation

2019-12-04 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +16949 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17470 ___ Python tracker ___

[issue38975] Add direct anchors to regex syntax documentation

2019-12-04 Thread Baptiste Mispelon
New submission from Baptiste Mispelon : While writing documentation about regexps for a project I help maintain, I wanted to link to some specific aspects of Python's implementation (in my case, non-capturing groups) which are described on https://docs.python.org/3/library/re.html. There are