Patch #1011144: Correct regex for coding decls.

This commit is contained in:
Martin v. Löwis 2004-08-18 13:25:05 +00:00
parent bf608750ad
commit ae075b6cb7

View file

@ -75,7 +75,7 @@ Comments are ignored by the syntax; they are not tokens.
\subsection{Encoding declarations\label{encodings}} \subsection{Encoding declarations\label{encodings}}
If a comment in the first or second line of the Python script matches If a comment in the first or second line of the Python script matches
the regular expression \regexp{coding[=:]\e s*([\e w-_.]+)}, this comment is the regular expression \regexp{coding[=:]\e s*([-\e w.]+)}, this comment is
processed as an encoding declaration; the first group of this processed as an encoding declaration; the first group of this
expression names the encoding of the source code file. The recommended expression names the encoding of the source code file. The recommended
forms of this expression are forms of this expression are