I have a problem with sublime text which should be generally all editors. When I have a regular expression like this.
listRegex = re.findall(r'[*][[][[].*', testString)
All the text after the regular expression will be incorrectly highlighted, because of the [[]
, specifically the [
without a close bracket. While the intention of this regular expression is correct, the editor doesn't know this.
This is just an annoyance I don't know how to deal with. Anyone know how to fix this?
Package/Python/Regular Expressions (Python).tmLanguage
file to fix this – Pudgy