Commit 38f63b5
committed
Fix regex for dots and hashes
Previously, a string such as ‘#some-id.some-class’ will match as ‘some-id.some-class’,
rather than just ‘some-class’ - This adjustment will match only the last substring following
either a hash or a dot, and containing neither.1 parent 7ebfc6a commit 38f63b5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments