On Tue, Oct 27, 2009 at 2:36 PM, BinĂ¡ris wikiposta@gmail.com wrote:
(ur'(x|y|z)', ur'\10') This results in "the tenth group", and execution stops with "no such group" message. How can I explain to the bot that I want to copy \1 and a zero character immediately after it?
ur'\g<1>0'; see also < http://docs.python.org/library/re.html >.