mirror of https://github.com/golang/go.git
exp/norm: Adopt regexp to exp/regexp semantics.
R=rsc CC=golang-dev https://golang.org/cl/5046041
This commit is contained in:
parent
03178bb4ad
commit
46468357a2
|
|
@ -114,8 +114,8 @@ func (t Test) Name() string {
|
|||
return fmt.Sprintf("%s:%d", part[t.partnr].name, t.number)
|
||||
}
|
||||
|
||||
var partRe = regexp.MustCompile(`@Part(\d) # (.*)\n`) // TODO: using $ iso \n does not work
|
||||
var testRe = regexp.MustCompile(`^` + strings.Repeat(`([\dA-F ]+);`, 5) + ` # (.*)\n`)
|
||||
var partRe = regexp.MustCompile(`@Part(\d) # (.*)\n$`)
|
||||
var testRe = regexp.MustCompile(`^` + strings.Repeat(`([\dA-F ]+);`, 5) + ` # (.*)\n?$`)
|
||||
|
||||
var counter int
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue