Re: [Python-ideas] PEP 8: raw strings & regular expressions
25 Oct
2015
25 Oct
'15
2:06 p.m.
On 10/22/2015 06:56 PM, Yury Selivanov wrote:
On the other hand, *a lot* of users are annoyed, when their raw strings are highlighted as regexps (why \n is highlighted as escaped?). Often that results not in just wrongly highlighted raw strings, but in broken highlighting of the whole source file [1]. ...
I don't see how this matters to the subject at hand. No matter what you think an r or R string contains, not detecting the end of the string is a failure of the syntax highlighter. It's failing to find the end of the triple-quoted r"""[""" token in this case. Eric.
3103
Age (days ago)
3103
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eric V. Smith