regexp/syntax.Regexp.Equal (method)
6 uses
regexp/syntax (current package)
parse.go#L681: if first != nil && first.Equal(ifirst) &&
regexp.go#L63: func (x *Regexp) Equal(y *Regexp) bool {
regexp.go#L92: if !sub.Equal(y.Sub[i]) {
regexp.go#L98: if x.Flags&NonGreedy != y.Flags&NonGreedy || !x.Sub[0].Equal(y.Sub[0]) {
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#L108: if x.Cap != y.Cap || x.Name != y.Name || !x.Sub[0].Equal(y.Sub[0]) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |