Fix to ensure bad regex patterns can't be saved for property tags.