I think you are probably right. Does anyone else have an opinion on this?
I agree this doesn't seem right, and can produce some confusing results. On the other hand, it's very nice to have regex highlighting. Wouldn't it be possible to have the first string located within a re.XXXXX('') pattern be highlighted as regex? Am I wrong, or are those the only places where regex appear? I suppose then it would have to behave differently depending on whether or not the 'r' was appended...
Eric