func (f *filepathPat) match(path string) bool {
	return f.regexp.MatchString(path)
}
func (f *filepathPat) match(path string) bool {
	return f.regexp.MatchString(path)
}
// match reports whether the file path matches the regexp.