Patch #1011144: Correct regex syntax.
This commit is contained in:
parent
c2b90f8633
commit
a860b7fe69
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue