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:
Michael Matloob 2014-12-23 23:19:08 -08:00 committed by Minux Ma
parent 31f8310c45
commit c7eb9663aa
1 changed files with 1 additions and 1 deletions

View File

@ -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