The syntax highlighting in [this question][1] seems to have matched a slash as being the start of a comment (or maybe a Perl-style regex) and kept that colour until it encountered another slash.

Is it not detecting the correct type of syntax highlighting to apply or does the Apache config highlighting care about slashes?

  [1]: http://serverfault.com/questions/371460/serve-empty-404-page-with-mod-rewrite