Commit e8314c6
committed
Fix / Workaround for: Error in regex: target of repeat operator is invalid in regex
Fixes: MagicStack#242
SublimeText 4 (as of build 4121) evaluates this valid regex: `\n?` to this invalid one: `$?`
hence causing the following error:
```
error: Error loading syntax file "Packages/<Path_To>.tmLanguage": Error in regex: target of repeat operator is invalid in regex
```
This commit is a workaround to fix this problem.1 parent 2802ded commit e8314c6
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
858 | | - | |
| 858 | + | |
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | | - | |
| 875 | + | |
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
| |||
1384 | 1384 | | |
1385 | 1385 | | |
1386 | 1386 | | |
1387 | | - | |
| 1387 | + | |
1388 | 1388 | | |
1389 | 1389 | | |
1390 | 1390 | | |
| |||
8181 | 8181 | | |
8182 | 8182 | | |
8183 | 8183 | | |
8184 | | - | |
| 8184 | + | |
8185 | 8185 | | |
8186 | 8186 | | |
8187 | 8187 | | |
| |||
8204 | 8204 | | |
8205 | 8205 | | |
8206 | 8206 | | |
8207 | | - | |
| 8207 | + | |
8208 | 8208 | | |
8209 | 8209 | | |
8210 | 8210 | | |
| |||
8553 | 8553 | | |
8554 | 8554 | | |
8555 | 8555 | | |
8556 | | - | |
| 8556 | + | |
8557 | 8557 | | |
8558 | 8558 | | |
8559 | 8559 | | |
| |||
8576 | 8576 | | |
8577 | 8577 | | |
8578 | 8578 | | |
8579 | | - | |
| 8579 | + | |
8580 | 8580 | | |
8581 | 8581 | | |
8582 | 8582 | | |
| |||
0 commit comments