Fix ignored regexp check.