diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-08-18 13:25:05 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-08-18 13:25:05 (GMT) |
commit | ae075b6cb7830fab2ee103441fd2549fb282643f (patch) | |
tree | 0070ecebf2ddc540b15e77a5fc4a46c13296192a | |
parent | bf608750adb3ae13dbc20eca22a3099e810ad673 (diff) | |
download | cpython-ae075b6cb7830fab2ee103441fd2549fb282643f.zip cpython-ae075b6cb7830fab2ee103441fd2549fb282643f.tar.gz cpython-ae075b6cb7830fab2ee103441fd2549fb282643f.tar.bz2 |
Patch #1011144: Correct regex for coding decls.
-rw-r--r-- | Doc/ref/ref2.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 375604f..10cfc06 100644 --- a/Doc/ref/ref2.tex +++ b/Doc/ref/ref2.tex @@ -75,7 +75,7 @@ Comments are ignored by the syntax; they are not tokens. \subsection{Encoding declarations\label{encodings}} 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 expression names the encoding of the source code file. The recommended forms of this expression are |