issue2636-02 : Code : Python

lp:~pythonregexp2.7/python/issue2636-02

Created by TimeHorse and last modified

Modification to the re.match class (internally _sre.SRE_MATCH) to support accessing the values of groups captured by name as if they were properties of the given match. In other words, support m.foo as valid shorthand for m.group('foo'). Because named groups are restricted to be valid python names in the current version of python, no existing group names would violate this format for addressing their capture.

Get this branch:
bzr branch lp:~pythonregexp2.7/python/issue2636-02

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

39034. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
39033. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
39032. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
39031. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
39030. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
39029. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
39028. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
39027. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
39026. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
39025. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 with rich root (needs bzr 1.0)