
Feb. 22, 2020
8 p.m.
PyCharm (I think only the paid edition) does recognise SQL in plain string literals just because it looks like SQL, and it offers various features from there including syntax highlighting. It also recognises that the first argument to functions like `re.match` is a regex and has features for that, regardless of whether you use raw strings.