Steve Newcomb added the comment:

> But this way exists: (?P=startquote) is what you want.

I know how I missed it: I searched for "backref" in the documentation.  I did 
not find it in the discussion of the pattern language, because that word does 
not appear where <?P= is discussed.

> contributions are welcome.

See attached brief patch for the documentation.  It changes the example, adds a 
table of the three processing contexts in which named groups can be referenced, 
and accounts for users who, like me, may search for "backref".  (I tested 
everything.  I think it's correct.)

Thanks again for the advice, Amaury.

----------
Added file: http://bugs.python.org/file27217/patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15956>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to