"Gabriel Genellina" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]

...

> You have to quote metacharacters if you want to match them. The escape 
> method is useful for this:
>
> >>> re.escape('(a)')
> '\\(a\\)'

Doh! Of course! Thanks everyone.

-- Mike --


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

Reply via email to