I am trying to add in a regex that matches either:
u'...'
or:
u"..."
To highlight the u
before the string (it's a python thing).
This is what I have so far:
autocmd Syntax python syn match pythonUni "\<\zsu\ze'" + '\|"'
Yet this gives me an invalid syntax when opening the python file. What would be the proper way to say '
or "
in a vim regex?
I tested this out and the proper regex should be:
/\<\zsu\ze['"]
But I'm not sure how to put it in the quoted command above.