diff -r 8880eba377c2 pep-0263.txt --- a/pep-0263.txt Sat Sep 07 23:33:30 2013 +1200 +++ b/pep-0263.txt Sun Sep 08 02:29:22 2013 +0300 @@ -61,7 +61,7 @@ # vim: set fileencoding= : More precisely, the first or second line must match the regular - expression "coding[:=]\s*([-\w.]+)". The first group of this + expression "^[ \t\f]*#.*coding[:=][ \t]*([-\w.]+)". The first group of this expression is then interpreted as encoding name. If the encoding is unknown to Python, an error is raised during compilation. There must not be any Python statement on the line that contains the