Astan Chee wrote:

> I'm reading text from a file (per line) and I want to do a regex using 
> these lines but I want the regex to ignore any special characters and 
> treat them like normal strings.
> Is there a regex function that can do this?

Maybe re.escape helps?

-- 
Frank Buss, f...@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to