Commit 1e2d9a2
committed
Make encoding regexp less strict
Make the encoding detection regexp less strict so that it will detect the encoding of files
that do not have a space between the "coding:" statement and the encoding value.
Example: https://github.com/dateutil/dateutil/blob/master/dateutil/parser.py1 parent fd70ac2 commit 1e2d9a2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
0 commit comments