+12

Python raw string syntax highlighting breaks with unmatched opening brackets

johtso 7 ár síðan • updated by Elijah Rutschman 7 ár síðan 2

The same happens with a lone opening round bracket "("
Another example:
PUNCT = r"""!"#$%&'‘()*+,\-./:;?@[\\\]_`{|}~"""
I am seeing this as well with the following string:
r'\[[^\]\]'