diff -r 55e11a621162 pep-0263.txt --- a/pep-0263.txt Wed Aug 07 01:49:59 2013 +0200 +++ b/pep-0263.txt Sat Sep 07 18:18:30 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\v]*#.*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