mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
remove some incorrect capitalizations.
add commentary. R=rsc DELTA=231 (41 added, 24 deleted, 166 changed) OCL=25724 CL=25726
This commit is contained in:
parent
811dd2584c
commit
a0feb32567
2 changed files with 193 additions and 176 deletions
|
|
@ -85,7 +85,7 @@ var matches = []tester {
|
|||
tester{ `a*(|(b))c*`, "aacc", vec{0,4, 2,2, -1,-1} },
|
||||
}
|
||||
|
||||
func compileTest(t *testing.T, expr string, error *os.Error) regexp.Regexp {
|
||||
func compileTest(t *testing.T, expr string, error *os.Error) *regexp.Regexp {
|
||||
re, err := regexp.Compile(expr);
|
||||
if err != error {
|
||||
t.Error("compiling `", expr, "`; unexpected error: ", err.String());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue