Commit 0f19b62
committed
improve ValueParser, handle escaped characters
Before this, `--width-1\/2` would be handled as: ```json [ { kind: 'word', value: '--width-\\' } { kind: 'separator', value: '/' } { kind: 'word', value: '2' } ] ``` But now it will be handled as: ```json [ { kind: 'word', value: '--width-\\/2' } ] ```1 parent 896a48b commit 0f19b62
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
152 | 160 | | |
153 | 161 | | |
154 | 162 | | |
| |||
0 commit comments