Alex Ross wrote:
We have the grammar set to treat "raw" strings as a regular expression. They were introduced to the python language specifically to make writing regular expressions easier, so this seems logical.
Anyway, the grammar thinks that you're LaTeX code is a regular expression. My suggestion would be to remove the "r" from before your doc-string. Is there a particular reason you are using them?
I'm more and more convinced as time goes on that we should just stop trying to interpret raw strings as regexps.
-Jacob