[issue18043] No mention of `match.regs` in `re` documentation
New submission from Ram Rachum: There's no mention of `match.regs` in the documentation of the `re` module. ---------- assignee: docs@python components: Documentation messages: 189859 nosy: cool-RR, docs@python priority: normal severity: normal status: open title: No mention of `match.regs` in `re` documentation type: behavior versions: Python 2.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18043> _______________________________________
Changes by Phil Connell <pconnell@gmail.com>: ---------- nosy: +pconnell _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18043> _______________________________________
Changes by Ezio Melotti <ezio.melotti@gmail.com>: ---------- components: +Regular Expressions nosy: +ezio.melotti, mrabarnett _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18043> _______________________________________
Mark Lawrence added the comment: @Ram Rachum can you provide a patch for this? ---------- nosy: +BreamoreBoy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18043> _______________________________________
Georg Brandl added the comment: I'm wondering what "regs" is supposed to stand for. It might be for "regions", but that term is used nowhere else. It should really be named "spans" to be consistent. ---------- nosy: +georg.brandl _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18043> _______________________________________
Ram Rachum added the comment: Mark, I prefer to leave this to someone else. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18043> _______________________________________
Matthew Barnett added the comment: There's an interesting bit of history here: http://www.gossamer-threads.com/lists/python/dev/236584 ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18043> _______________________________________
Georg Brandl added the comment: IOW: it was already intentionally undocumented back then, and only added for compatibility reasons. Probably should be deprecated and removed at some point. ---------- resolution: -> wont fix status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18043> _______________________________________
participants (6)
-
Ezio Melotti -
Georg Brandl -
Mark Lawrence -
Matthew Barnett -
Phil Connell -
Ram Rachum