I have the first regsub code inside a proc. Highlighting breaks when the pound symbol is used after a curly brace. I played around with it, and included some of my observations in the screenshot.
The issue here is that after the proc that encloses the syntax error ends, highlighting is even more broken for the rest of the file. The proc immediately following the proc with the regsub code basically has no highlighting:
I deleted the [regsub {#this shouldn't be gray}] code from my file and the large swaths of broken syntax fixed themselves.
I have the first regsub code inside a proc. Highlighting breaks when the pound symbol is used after a curly brace. I played around with it, and included some of my observations in the screenshot.
The issue here is that after the proc that encloses the syntax error ends, highlighting is even more broken for the rest of the file. The proc immediately following the proc with the regsub code basically has no highlighting:
I deleted the
[regsub {#this shouldn't be gray}]
code from my file and the large swaths of broken syntax fixed themselves.