Home | History | Annotate | Download | only in regexp

Lines Matching defs:hasPrefix

284 	hasPrefix(re *Regexp) bool
309 func (i *inputString) hasPrefix(re *Regexp) bool {
310 return strings.HasPrefix(i.str, re.prefix)
356 func (i *inputBytes) hasPrefix(re *Regexp) bool {
357 return bytes.HasPrefix(i.str, re.prefixBytes)
408 func (i *inputReader) hasPrefix(re *Regexp) bool {