I'm looking through the tools/scripts folder from the python install, trying to get reacquanted with the language. Got a question on the following classfix.py snippet:
# This expression doesn't catch *all* class definition headers, # but it's pretty darn close. classexpr = '^\([ \t]*class +[a-zA-Z0-9_]+\) *( *) *\(\(=.*\)?\):' classprog = regex.compile(classexpr) Since the classexpr isn't a raw string (not r prefix), doesn't the \t get converted to a tab character before it gets to the regex compiler? -- http://mail.python.org/mailman/listinfo/python-list