No, the meaning of '.' as matching anything except \n has been
hardwired in the Emacs (-compatible) regular expression matching
package that I am using.
However, since this package (like all of Python where not constrained
by external factors) is 8-bit clean and supports null bytes in strings
and patterns, you can use the following instead of ".*" to match
absolutely everything: "[\0-\377]*". (Note that the \ octal escapes
are expanded by the string literal, not by the regex module.)
Hope this helps,
--Guido van Rossum, CWI, Amsterdam <mailto:Guido.van.Rossum@cwi.nl>
<http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>