var path/filepath.ErrBadPattern

9 uses

	path/filepath (current package)
		match.go#L17: var ErrBadPattern = errors.New("syntax error in pattern")
		match.go#L189: 					return "", false, ErrBadPattern
		match.go#L213: 		err = ErrBadPattern
		match.go#L219: 			err = ErrBadPattern
		match.go#L225: 		err = ErrBadPattern
		match.go#L229: 		err = ErrBadPattern
		match.go#L250: 		return nil, ErrBadPattern
		match.go#L278: 		return nil, ErrBadPattern

	nhooyr.io/websocket
		accept.go#L99: 			if errors.Is(err, filepath.ErrBadPattern) {