How do I get to *all* of the groups of an re search?

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Sat Jan 11 11:44:43 EST 2003


Kyler Laird <Kyler at news.Lairds.org> writes:
> Yes, but the syntax clearly states that the matched text
> will be accessible.  That is not true.  There is no way
> to get it with any function.

Something wrong with

  m.string[m.start(g):m.end(g)]

as described in the docs?




More information about the Python-list mailing list