build: new build: parse_case_patterns() be not strict, so we can catch case_patterns when e.g. comment are in line
build: new build: parse_case_patterns() simplify ignore-method