sorry i forgot to escape the question mark...

> [code]
> import re
> p = re.compile(r'[A-Za-z]:\\([^/:\*?"<>\|])*')

even when I escape that it still doesnt work as expected.

p = re.compile(r'[A-Za-z]:\\([^/:\*\?"<>\|])*')

p.match('c:\test')  still returns None.

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

Reply via email to