func unescapeIgnorePattern(pattern string) string {
	// Trim trailing spaces, unless they are escaped with a backslash
	for index := len(pattern) - 1; index > 0 && pattern[index] == ' '; index-- {
		if pattern[index-1] != '\\' {
			pattern = pattern[:index]
		}
	}

	// Unescape supported characters
	return ignorePatternReplacer.Replace(pattern)
}
// unescapeIgnorePattern removes unescaped trailing spaces and unescapes spaces,
// hashes and bang characters in pattern.
unescapeIgnorePattern removes unescaped trailing spaces and unescapes spaces,
hashes and bang characters in pattern.
// unescapeIgnorePattern removes unescaped trailing spaces and unescapes spaces // hashes and bang characters in pattern .
func unescapeIgnorePattern(pattern string) string {
	for index := len(pattern) - 1; index > 0 && pattern[index] == ' '; index-- {
		if pattern[index-1] != '\\' {
			pattern = pattern[:index]
		}
	}
	return ignorePatternReplacer.Replace(pattern)
}
func unescapeIgnorePattern ( pattern string ) string { for index := len ( pattern ) - 1 ; index > 0 && pattern [ index ] == ' ' ; index -- { if pattern [ index - 1 ] != '\\' { pattern = pattern [ : index ] } } return ignorePatternReplacer . Replace ( pattern ) }
unescapeIgnorePattern removes unescaped trailing spaces and unescapes spaces,
hashes and bang characters in pattern.
unescapeIgnorePattern removes unescaped trailing spaces and unescapes spaces hashes and bang characters in pattern .
// Trim trailing spaces, unless they are escaped with a backslash // Unescape supported characters