Closed 06547701-06a2-4e4a-b672-16a33475101e closed 9 years ago
There's no mention of match.regs
in the documentation of the re
module.
@Ram Rachum can you provide a patch for this?
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.
Mark, I prefer to leave this to someone else.
There's an interesting bit of history here:
IOW: it was already intentionally undocumented back then, and only added for compatibility reasons.
Probably should be deprecated and removed at some point.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = None closed_at =
created_at =
labels = ['expert-regex', 'type-bug', 'docs']
title = 'No mention of `match.regs` in `re` documentation'
updated_at =
user = 'https://github.com/cool-RR'
```
bugs.python.org fields:
```python
activity =
actor = 'georg.brandl'
assignee = 'docs@python'
closed = True
closed_date =
closer = 'georg.brandl'
components = ['Documentation', 'Regular Expressions']
creation =
creator = 'cool-RR'
dependencies = []
files = []
hgrepos = []
issue_num = 18043
keywords = []
message_count = 6.0
messages = ['189859', '228415', '228431', '228432', '228467', '228468']
nosy_count = 7.0
nosy_names = ['georg.brandl', 'ezio.melotti', 'mrabarnett', 'cool-RR', 'docs@python', 'BreamoreBoy', 'pconnell']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue18043'
versions = ['Python 2.7']
```