- better error reporting when spec fails to compile as a regular
  expression