--- On Wed, 11/3/10, MRAB <pyt...@mrabarnett.plus.com> wrote: > From: MRAB <pyt...@mrabarnett.plus.com> > Subject: Re: Must be a bug in the re module [was: Why this result with the re > module] > To: python-list@python.org > Date: Wednesday, November 3, 2010, 8:02 AM > On 03/11/2010 03:42, Yingjie Lan > wrote:
> Therefore the outer (first) group is always an empty string > and the > inner (second) group is the same as the previous example > (the last > capture or '' if no capture). Now I am confused also: If the outer group \1 is empty, how could the inner group \2 actually have something? Yingjie -- http://mail.python.org/mailman/listinfo/python-list