Commit c0753fe
committed
Fix regex character class matching.
In Javascript, /[]/ denotes an empty character class (matches nothing),
and /[^]/ denotes the negation of an empty character class (matches
everything). This differs from languages like Python, which do not allow
empty character classes.1 parent e66f901 commit c0753fe
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments