+12

Python raw string syntax highlighting breaks with unmatched opening brackets

johtso 13 år siden opdateret af Elijah Rutschman 13 år siden 2
Image 51

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

Kundesupport af UserEcho