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/regexp.go | |
parent | 7cb1810fe8117d4c5112ecea7a65f28f03009ef7 (diff) | |
download | go-git-161874da2ab6d5372043a1f3938a81a19d1165ad.tar.gz |
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/regexp.go')
-rw-r--r-- | src/regexp/regexp.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |