Rolled back regular expression. HTML/XML inside a pre tag should be escaped, so the original regex worked better.