This is basically the same issue @cPsYcRoW filed for the zpconn/language-tcl package here:
zpconn/language-tcl#5
When regexp or regsub contain quotes after the expression, the rest of the document is highlighted as a double quoted string, starting from the first quote. Quotes in the expression aren't an issue.
Examples, which when pasted in existing code will exhibit the issue:
regexp {exp} "string" matchVar
regsub {exp} "string" subSpec varName
regsub {exp} $string "subSpec" varName
I haven't yet checked if cPsYcRoW's solution given for the zpconn package would work here.
This is basically the same issue @cPsYcRoW filed for the zpconn/language-tcl package here:
zpconn/language-tcl#5
When regexp or regsub contain quotes after the expression, the rest of the document is highlighted as a double quoted string, starting from the first quote. Quotes in the expression aren't an issue.
Examples, which when pasted in existing code will exhibit the issue:
regexp {exp} "string" matchVar
regsub {exp} "string" subSpec varName
regsub {exp} $string "subSpec" varName
I haven't yet checked if cPsYcRoW's solution given for the zpconn package would work here.