Patch #1011144: Correct regex syntax.

This commit is contained in:
Martin v. Löwis 2004-08-18 13:25:54 +00:00
parent c2b90f8633
commit a860b7fe69
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ Defining the Encoding
# -*- coding: <encoding name> -*-
More precisely, the first or second line must match the regular
expression "coding[:=]\s*([-\w_.]+)". The first group of this
expression "coding[:=]\s*([-\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