regexp/syntax.Regexp.Max (field)
14 uses
regexp/syntax (current package)
parse.go#L297: re.Max = max
parse.go#L322: m := re.Max
parse.go#L543: (isCharClass(first) || (first.Op == OpRepeat && first.Min == first.Max && isCharClass(first.Sub[0]))) {
regexp.go#L24: Min, Max int // min, max for OpRepeat
regexp.go#L103: if x.Flags&NonGreedy != y.Flags&NonGreedy || x.Min != y.Min || x.Max != y.Max || !x.Sub[0].Equal(y.Sub[0]) {
regexp.go#L215: if re.Max != re.Min {
regexp.go#L217: if re.Max >= 0 {
regexp.go#L218: b.WriteString(strconv.Itoa(re.Max))
simplify.go#L44: if re.Min == 0 && re.Max == 0 {
simplify.go#L52: if re.Max == -1 {
simplify.go#L76: if re.Min == 1 && re.Max == 1 {
simplify.go#L95: if re.Max > re.Min {
simplify.go#L97: for i := re.Min + 1; i < re.Max; i++ {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)