front: Simplify cheat block parsing, precompile regex matchers.

Again, no performance penalty observed. If anything, there seems to be a
very slight boost, perhaps due to the regex precompilation.