Set filenames and debugContext via literals, to avoid class-name munging.
fix error messages
compile RE pattern just once