There are many special characters listed on http://docs.python.org/library/re.htmlI'm wondering if there is a convenient function that can readily convert a string with the special characters to its corresponding regex. For example, "some.thing" => "some\.thing"
Did you try bothering to *read* the page you linked to? There's a function for escaping strings right there... Literacy...a worthwhile skill to obtain. -tkc -- http://mail.python.org/mailman/listinfo/python-list