On Dec 13, 9:00 pm, Davy <[EMAIL PROTECTED]> wrote:
>
> What's "\1" and the whole re.sub() mean?
>

Read about backreferences here:

http://www.regular-expressions.info/brackets.html

Also see the entry on parentheses here:

http://docs.python.org/lib/re-syntax.html

rick

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to