Fix up <pre bug with regular expressions.
Ignore tokens that start with backslash.
Ignore tokens between curly braces.