From 8cb9c21cce483d016b520838c828b4403c5dfc81 Mon Sep 17 00:00:00 2001 From: Dmitry Savintsev Date: Mon, 27 Apr 2015 11:57:21 +0200 Subject: [PATCH] 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 --- src/regexp/exec_test.go | 8 ++++---- src/regexp/testdata/README | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/regexp/exec_test.go b/src/regexp/exec_test.go index b6272d656f..669b80e0bc 100644 --- a/src/regexp/exec_test.go +++ b/src/regexp/exec_test.go @@ -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") diff --git a/src/regexp/testdata/README b/src/regexp/testdata/README index b1b301be83..58cec82f91 100644 --- a/src/regexp/testdata/README +++ b/src/regexp/testdata/README @@ -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. -- 2.48.1