Regex compiler missed negative case of literals.

This was the root cause of the 46-charspec.t parsing bug.