You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Error loading syntax file "Packages/MagicPython/grammars/MagicPython.tmLanguage": Error in regex: target of repeat operator is invalid in regex (?x)
(.+?)
(
(?# .* and .*? in multi-line match need special handling of
newlines otherwise SublimeText and Atom will match slightly
differently.
The guard
Since the regex is very common in the tmlanguage I'm confused in ways to solve this...
Syntax is not highlighted((
The text was updated successfully, but these errors were encountered:
ni-max
added a commit
to ni-max/MagicPython
that referenced
this issue
Nov 22, 2021
…valid 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.
The error:
Since the regex is very common in the tmlanguage I'm confused in ways to solve this...
Syntax is not highlighted((
The text was updated successfully, but these errors were encountered: