rescue if cannot apply regex