kurokirasama / nushell_sublime_syntax

Nushell syntax highlight for sublime text
MIT License
11 stars 3 forks source link

Lone Question Mark in Regex in Sublime Syntax File #4

Open m-stoeckel opened 6 months ago

m-stoeckel commented 6 months ago

Is the lone question mark in line 28 of the sublime syntax file intentional?

https://github.com/kurokirasama/nushell_sublime_syntax/blob/395c382aa2aa3d3ae4cfb701086af905eeaba2b4/nushell.sublime-syntax#L28C1-L28C2429

Trying to use it as syntax for bat raises an error as the regex is not valid.

Escaping the question mark as \? fixes this issue.

kurokirasama commented 1 month ago

hey, sorry for the delay.

Yes, I just took the a sublime template syntax file and modified it for nushell