diff options
author | Tim Cooper <tim.cooper@layeh.com> | 2018-06-01 17:29:59 -0300 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2018-06-01 21:52:00 +0000 |
commit | 161874da2ab6d5372043a1f3938a81a19d1165ad (patch) | |
tree | 6662b46b3a1216501e2d37d71f3521e049e87b79 /src/regexp | |
parent | 7cb1810fe8117d4c5112ecea7a65f28f03009ef7 (diff) | |
download | go-161874da2ab6d5372043a1f3938a81a19d1165ad.tar.gz go-161874da2ab6d5372043a1f3938a81a19d1165ad.zip |
all: update comment URLs from HTTP to HTTPS, where possible
Each URL was manually verified to ensure it did not serve up incorrect
content.
Change-Id: I4dc846227af95a73ee9a3074d0c379ff0fa955df
Reviewed-on: https://go-review.googlesource.com/115798
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/regexp')
-rw-r--r-- | src/regexp/exec.go | 4 | ||||
-rw-r--r-- | src/regexp/regexp.go | 4 | ||||
-rw-r--r-- | src/regexp/syntax/compile.go | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/regexp/exec.go b/src/regexp/exec.go index 84cb3e6fa5..1c7b02d1cd 100644 --- a/src/regexp/exec.go +++ b/src/regexp/exec.go @@ -10,7 +10,7 @@ import ( ) // A queue is a 'sparse array' holding pending threads of execution. -// See http://research.swtch.com/2008/03/using-uninitialized-memory-for-fun-and.html +// See https://research.swtch.com/2008/03/using-uninitialized-memory-for-fun-and.html type queue struct { sparse []uint32 dense []entry @@ -27,7 +27,7 @@ type entry struct { // A thread is the state of a single path through the machine: // an instruction and a corresponding capture array. -// See http://swtch.com/~rsc/regexp/regexp2.html +// See https://swtch.com/~rsc/regexp/regexp2.html type thread struct { inst *syntax.Inst cap []int diff --git a/src/regexp/regexp.go b/src/regexp/regexp.go index 7a214ad156..09faced8f3 100644 --- a/src/regexp/regexp.go +++ b/src/regexp/regexp.go @@ -16,7 +16,7 @@ // (This is a property not guaranteed by most open source // implementations of regular expressions.) For more information // about this property, see -// http://swtch.com/~rsc/regexp/regexp1.html +// https://swtch.com/~rsc/regexp/regexp1.html // or any book about automata theory. // // All characters are UTF-8-encoded code points. @@ -145,7 +145,7 @@ func Compile(expr string) (*Regexp, error) { // specifies that the match be chosen to maximize the length of the first // subexpression, then the second, and so on from left to right. // The POSIX rule is computationally prohibitive and not even well-defined. -// See http://swtch.com/~rsc/regexp/regexp2.html#posix for details. +// See https://swtch.com/~rsc/regexp/regexp2.html#posix for details. func CompilePOSIX(expr string) (*Regexp, error) { return compile(expr, syntax.POSIX, true) } diff --git a/src/regexp/syntax/compile.go b/src/regexp/syntax/compile.go index 83e53ba6ca..1d8ab87a6d 100644 --- a/src/regexp/syntax/compile.go +++ b/src/regexp/syntax/compile.go @@ -9,7 +9,7 @@ import "unicode" // A patchList is a list of instruction pointers that need to be filled in (patched). // Because the pointers haven't been filled in yet, we can reuse their storage // to hold the list. It's kind of sleazy, but works well in practice. -// See http://swtch.com/~rsc/regexp/regexp1.html for inspiration. +// See https://swtch.com/~rsc/regexp/regexp1.html for inspiration. // // These aren't really pointers: they're integers, so we can reinterpret them // this way without using package unsafe. A value l denotes |