mirror of https://github.com/golang/go.git
regexp: fix typo in comment: s/onpass/onepass/
Change-Id: Idff57050a34d09e7fa9b77e9b53d61bb5ea2a71c Reviewed-on: https://go-review.googlesource.com/2095 Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
31f8310c45
commit
c7eb9663aa
|
|
@ -83,7 +83,7 @@ type Regexp struct {
|
|||
// read-only after Compile
|
||||
expr string // as passed to Compile
|
||||
prog *syntax.Prog // compiled program
|
||||
onepass *onePassProg // onpass program or nil
|
||||
onepass *onePassProg // onepass program or nil
|
||||
prefix string // required prefix in unanchored matches
|
||||
prefixBytes []byte // prefix, as a []byte
|
||||
prefixComplete bool // prefix is the entire regexp
|
||||
|
|
|
|||
Loading…
Reference in New Issue