const regexp/syntax.OpEmptyMatch
16 uses
regexp/syntax (current package)
compile.go#L92: case OpEmptyMatch:
parse.go#L304: return p.push(p.newRegexp(OpEmptyMatch))
parse.go#L574: if i+1 < len(sub) && sub[i].Op == OpEmptyMatch && sub[i+1].Op == OpEmptyMatch {
parse.go#L605: if sub.Op == OpEmptyMatch {
parse.go#L610: re.Op = OpEmptyMatch
parse.go#L627: re.Op = OpEmptyMatch
parse.go#L636: if re.Op == OpEmptyMatch {
parse.go#L641: if sub.Op == OpEmptyMatch {
parse.go#L660: re.Op = OpEmptyMatch
parse.go#L672: return p.newRegexp(OpEmptyMatch)
regexp.go#L40: OpEmptyMatch // matches empty string
regexp.go#L122: case OpEmptyMatch:
regexp.go#L193: if re.Sub[0].Op != OpEmptyMatch {
simplify.go#L45: return &Regexp{Op: OpEmptyMatch}
simplify.go#L137: if sub.Op == OpEmptyMatch {
![]() |
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. |