Skip to content

Commit

Permalink
fix #4 incorrect parsing of regsub end
Browse files Browse the repository at this point in the history
  • Loading branch information
ffm committed Nov 13, 2022
1 parent 670d9fd commit aa66b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/tcl.tmlanguage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2899,7 +2899,7 @@ repository:
patterns:
-
begin: '(?<=^|\[|{|;)\s*(::)?\b(regexp|regsub)\b'
end: "(?=(?<!\\\\)(?:$|[\n;}\\]]))"
end: "(?=(?<!\\\\)(?:$|.*[\n;}\\]]))"
beginCaptures:
'1':
name: support.type.ns.separator.tcl
Expand Down

0 comments on commit aa66b46

Please sign in to comment.