github.com/google/licensecheck/internal/match.LRE.File (method)

8 uses

	github.com/google/licensecheck/internal/match (current package)
		regexp.go#L80: func (re *LRE) File() string {
		regexp.go#L139: 			return nil, fmt.Errorf("%s: no leading phrases", sub.File())
		regexp.go#L143: 				return nil, fmt.Errorf("%s: invalid pattern: matches empty text", sub.File())
		regexp.go#L147: 					return nil, fmt.Errorf("%s: invalid pattern: matches a single wildcard", sub.File())
		regexp.go#L150: 					return nil, fmt.Errorf("%s: invalid pattern: begins with two wildcards", sub.File())
		regexp.go#L152: 				return nil, fmt.Errorf("%s: invalid pattern: begins with wildcard phrase: __ %s", sub.File(), dict.Words()[p[1]])
		regexp.go#L155: 				return nil, fmt.Errorf("%s: invalid pattern: matches single word %s", sub.File(), dict.Words()[p[0]])
		regexp.go#L158: 				return nil, fmt.Errorf("%s: invalid pattern: begins with wildcard phrase: %s __", sub.File(), dict.Words()[p[0]])