code: func PeekNextPattern(p []string) (pat string, size int) {
  	if isNextSuffixPattern(p) {
  		pat, size = (p[0] + p[1]), 2
  	} else {
  		pat, size = p[0], 1
  	}
  	return
  }
docs: // PeekNextPattern returns next entry pattern with offset size