mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-07 21:08:07 -06:00
[chore]: Bump mvdan.cc/xurls/v2 from 2.5.0 to 2.6.0 (#3643)
Bumps [mvdan.cc/xurls/v2](https://github.com/mvdan/xurls) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/mvdan/xurls/releases) - [Commits](https://github.com/mvdan/xurls/compare/v2.5.0...v2.6.0) --- updated-dependencies: - dependency-name: mvdan.cc/xurls/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
4d423102c1
commit
b95498b8c2
86 changed files with 5284 additions and 1449 deletions
6
vendor/mvdan.cc/xurls/v2/README.md
vendored
6
vendor/mvdan.cc/xurls/v2/README.md
vendored
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue