const regexp/syntax.OpAlternate
11 uses
regexp/syntax (current package)
compile.go#L150: case OpAlternate:
parse.go#L333: return p.push(p.collapse(subs, OpAlternate))
parse.go#L377: if op == OpAlternate {
parse.go#L453: suffix := p.collapse(sub[start:i], OpAlternate) // recurse
parse.go#L510: suffix := p.collapse(sub[start:i], OpAlternate) // recurse
regexp.go#L57: OpAlternate // matches alternation of Subs
regexp.go#L87: case OpAlternate, OpConcat:
regexp.go#L228: if sub.Op == OpAlternate {
regexp.go#L236: case OpAlternate:
simplify.go#L19: case OpCapture, OpConcat, OpAlternate:
regexp
regexp.go#L292: case syntax.OpAlternate:
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |