Fix slash lexer

Fixed the exception problem in 21560d0 (that commit is why Python and me don't get along).

I also took the chance to pretty up the syntax highlighting a bit