]> granicus.if.org Git - python/commit
- experimental: added two new attributes to the match object:
authorFredrik Lundh <fredrik@pythonware.com>
Sun, 2 Jul 2000 22:25:39 +0000 (22:25 +0000)
committerFredrik Lundh <fredrik@pythonware.com>
Sun, 2 Jul 2000 22:25:39 +0000 (22:25 +0000)
commitc2301730b8e07ece0b7c4ff6b6b06a4895d370c7
treefa5dd23128e9b5acc45dfed3958c341bdb90be73
parentc9c02c4cf3d3e508986d1e7a6840f3ef92f077a6
- experimental: added two new attributes to the match object:
  "lastgroup" is the name of the last matched capturing group,
  "lastindex" is the index of the same group.  if no group was
  matched, both attributes are set to None.

  the (?P#) feature will be removed in the next relase.
Lib/sre_compile.py
Lib/sre_parse.py
Modules/_sre.c
Modules/sre.h