mirror of
https://github.com/golang/go
synced 2024-11-12 09:30:25 -07:00
regexp: trivial change in comments to update code.google.com link
Replaced code.google.com/p/re2/ with github.com/google/re2/ and updated the file names (re2-exhaustive.txt.bz2 not re2.txt.gz) as well as the re2 make command (make log). Change-Id: I15937b0b8a898d78d45366857ed86421c8d69960 Reviewed-on: https://go-review.googlesource.com/9372 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
42da270024
commit
8cb9c21cce
@ -24,8 +24,8 @@ import (
|
||||
// complexity, over all possible strings over a given alphabet,
|
||||
// up to a given size. Rather than try to link with RE2, we read a
|
||||
// log file containing the test cases and the expected matches.
|
||||
// The log file, re2.txt, is generated by running 'make exhaustive-log'
|
||||
// in the open source RE2 distribution. http://code.google.com/p/re2/
|
||||
// The log file, re2-exhaustive.txt, is generated by running 'make log'
|
||||
// in the open source RE2 distribution https://github.com/google/re2/.
|
||||
//
|
||||
// The test file format is a sequence of stanzas like:
|
||||
//
|
||||
@ -59,8 +59,8 @@ import (
|
||||
// a capital letter are test names printed during RE2's test suite
|
||||
// and are echoed into t but otherwise ignored.
|
||||
//
|
||||
// At time of writing, re2.txt is 32 MB but compresses to 760 kB,
|
||||
// so we store re2.txt.gz in the repository and decompress it on the fly.
|
||||
// At time of writing, re2-exhaustive.txt is 59 MB but compresses to 385 kB,
|
||||
// so we store re2-exhaustive.txt.bz2 in the repository and decompress it on the fly.
|
||||
//
|
||||
func TestRE2Search(t *testing.T) {
|
||||
testRE2(t, "testdata/re2-search.txt")
|
||||
|
3
src/regexp/testdata/README
vendored
3
src/regexp/testdata/README
vendored
@ -19,5 +19,6 @@ Such changes are marked with 'RE2/Go'.
|
||||
RE2 Test Files
|
||||
|
||||
re2-exhaustive.txt.bz2 and re2-search.txt are built by running
|
||||
'make log' in the RE2 distribution. http://code.google.com/p/re2/.
|
||||
'make log' in the RE2 distribution https://github.com/google/re2/
|
||||
|
||||
The exhaustive file is compressed because it is huge.
|
||||
|
Loading…
Reference in New Issue
Block a user