Abstracted to a regex error finder
commented