type regexp/syntax.frag
26 uses
regexp/syntax (current package)
compile.go#L59: type frag struct {
compile.go#L88: func (c *compiler) compile(re *Regexp) frag {
compile.go#L98: var f frag
compile.go#L141: var f frag
compile.go#L151: var f frag
compile.go#L160: func (c *compiler) inst(op InstOp) frag {
compile.go#L162: f := frag{i: uint32(len(c.p.Inst))}
compile.go#L167: func (c *compiler) nop() frag {
compile.go#L173: func (c *compiler) fail() frag {
compile.go#L174: return frag{}
compile.go#L177: func (c *compiler) cap(arg uint32) frag {
compile.go#L188: func (c *compiler) cat(f1, f2 frag) frag {
compile.go#L191: return frag{}
compile.go#L197: return frag{f1.i, f2.out}
compile.go#L200: func (c *compiler) alt(f1, f2 frag) frag {
compile.go#L217: func (c *compiler) quest(f1 frag, nongreedy bool) frag {
compile.go#L231: func (c *compiler) star(f1 frag, nongreedy bool) frag {
compile.go#L245: func (c *compiler) plus(f1 frag, nongreedy bool) frag {
compile.go#L246: return frag{f1.i, c.star(f1, nongreedy).out}
compile.go#L249: func (c *compiler) empty(op EmptyOp) frag {
compile.go#L256: func (c *compiler) rune(r []rune, flags Flags) frag {
![]() |
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. |