compiletest: Refactor compile-fail to regex.

Edit: This now only covers refactoring to regex.