Fix the bug introduced in r1.0 re syntax highlighting