Lines Matching full:star
47 var star bool
49 star, chunk, pattern = scanChunk(pattern)
50 if star && chunk == "" {
58 // using the star
66 if star {
89 // scanChunk gets the next segment of pattern, which is a non-star string
90 // possibly preceded by a star.
91 func scanChunk(pattern string) (star bool, chunk, rest string) {
94 star = true
118 return star, pattern[0:i], pattern[i:]