diff options
Diffstat (limited to 'vendor/mvdan.cc/xurls/v2/README.md')
-rw-r--r-- | vendor/mvdan.cc/xurls/v2/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/mvdan.cc/xurls/v2/README.md b/vendor/mvdan.cc/xurls/v2/README.md index 3065d13f9..298c3e042 100644 --- a/vendor/mvdan.cc/xurls/v2/README.md +++ b/vendor/mvdan.cc/xurls/v2/README.md @@ -2,7 +2,7 @@ [](https://pkg.go.dev/mvdan.cc/xurls/v2) -Extract urls from text using regular expressions. Requires Go 1.19 or later. +Extract urls from text using regular expressions. Requires Go 1.22 or later. ```go import "mvdan.cc/xurls/v2" @@ -18,8 +18,8 @@ func main() { } ``` -Since API is centered around [regexp.Regexp](https://golang.org/pkg/regexp/#Regexp), -many other methods are available, such as finding the [byte indexes](https://golang.org/pkg/regexp/#Regexp.FindAllIndex) +Since API is centered around [regexp.Regexp](https://pkg.go.dev/regexp#Regexp), +many other methods are available, such as finding the [byte indexes](https://pkg.go.dev/regexp#Regexp.FindAllIndex) for all matches. The regular expressions are compiled when the API is first called. |