Commit cac4231
Drop the whitespace check the charset pin subsumed
The [a-z0-9_]+ fullmatch landed after the whitespace check and fully
absorbs it: all-whitespace input already fails the strip() check, and
interior whitespace fails the charset with an accurate message. The
empty and lowercase pre-checks stay -- they guard the common mistakes
with materially friendlier messages.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent eaba92f commit cac4231
2 files changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments