Regex error harness