[chore]: Bump mvdan.cc/xurls/v2 from 2.4.0 to 2.5.0 (#1702)
Bumps [mvdan.cc/xurls/v2](https://github.com/mvdan/xurls) from 2.4.0 to 2.5.0. - [Release notes](https://github.com/mvdan/xurls/releases) - [Commits](https://github.com/mvdan/xurls/compare/v2.4.0...v2.5.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
ef3004b77f
commit
c5f61c456b
4
go.mod
4
go.mod
|
@ -62,7 +62,7 @@ require (
|
||||||
gopkg.in/mcuadros/go-syslog.v2 v2.3.0
|
gopkg.in/mcuadros/go-syslog.v2 v2.3.0
|
||||||
gopkg.in/yaml.v3 v3.0.1
|
gopkg.in/yaml.v3 v3.0.1
|
||||||
modernc.org/sqlite v1.21.1
|
modernc.org/sqlite v1.21.1
|
||||||
mvdan.cc/xurls/v2 v2.4.0
|
mvdan.cc/xurls/v2 v2.5.0
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
@ -148,7 +148,7 @@ require (
|
||||||
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
|
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
|
||||||
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
|
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
|
||||||
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect
|
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect
|
||||||
golang.org/x/mod v0.8.0 // indirect
|
golang.org/x/mod v0.10.0 // indirect
|
||||||
golang.org/x/sys v0.7.0 // indirect
|
golang.org/x/sys v0.7.0 // indirect
|
||||||
golang.org/x/tools v0.6.0 // indirect
|
golang.org/x/tools v0.6.0 // indirect
|
||||||
google.golang.org/appengine v1.6.7 // indirect
|
google.golang.org/appengine v1.6.7 // indirect
|
||||||
|
|
11
go.sum
11
go.sum
|
@ -488,8 +488,7 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qq
|
||||||
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
|
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
|
||||||
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
|
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
|
||||||
github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
|
github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
|
||||||
github.com/rogpeppe/go-internal v1.8.1 h1:geMPLpDpQOgVyCg5z5GoRwLHepNdb71NXb67XFkP+Eg=
|
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
|
||||||
github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o=
|
|
||||||
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
|
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
|
||||||
github.com/rs/xid v1.4.0 h1:qd7wPTDkN6KQx2VmMBLrpHkiyQwgFXRnkOLacUiaSNY=
|
github.com/rs/xid v1.4.0 h1:qd7wPTDkN6KQx2VmMBLrpHkiyQwgFXRnkOLacUiaSNY=
|
||||||
github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
|
github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
|
||||||
|
@ -705,8 +704,9 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
|
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
|
||||||
golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8=
|
|
||||||
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||||
|
golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
|
||||||
|
golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||||
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||||
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||||
|
@ -771,7 +771,6 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ
|
||||||
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
||||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
|
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
|
||||||
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
|
@ -1070,8 +1069,8 @@ modernc.org/tcl v1.15.1 h1:mOQwiEK4p7HruMZcwKTZPw/aqtGM4aY00uzWhlKKYws=
|
||||||
modernc.org/token v1.0.1 h1:A3qvTqOwexpfZZeyI0FeGPDlSWX5pjZu9hF4lU+EKWg=
|
modernc.org/token v1.0.1 h1:A3qvTqOwexpfZZeyI0FeGPDlSWX5pjZu9hF4lU+EKWg=
|
||||||
modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=
|
modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=
|
||||||
modernc.org/z v1.7.0 h1:xkDw/KepgEjeizO2sNco+hqYkU12taxQFqPEmgm1GWE=
|
modernc.org/z v1.7.0 h1:xkDw/KepgEjeizO2sNco+hqYkU12taxQFqPEmgm1GWE=
|
||||||
mvdan.cc/xurls/v2 v2.4.0 h1:tzxjVAj+wSBmDcF6zBB7/myTy3gX9xvi8Tyr28AuQgc=
|
mvdan.cc/xurls/v2 v2.5.0 h1:lyBNOm8Wo71UknhUs4QTFUNNMyxy2JEIaKKo0RWOh+8=
|
||||||
mvdan.cc/xurls/v2 v2.4.0/go.mod h1:+GEjq9uNjqs8LQfM9nVnM8rff0OQ5Iash5rzX+N1CSg=
|
mvdan.cc/xurls/v2 v2.5.0/go.mod h1:yQgaGQ1rFtJUzkmKiHYSSfuQxqfYmd//X6PxvholpeE=
|
||||||
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
|
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
|
||||||
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
|
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
|
||||||
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
|
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
|
||||||
|
|
|
@ -769,7 +769,7 @@ golang.org/x/image/tiff/lzw
|
||||||
golang.org/x/image/vp8
|
golang.org/x/image/vp8
|
||||||
golang.org/x/image/vp8l
|
golang.org/x/image/vp8l
|
||||||
golang.org/x/image/webp
|
golang.org/x/image/webp
|
||||||
# golang.org/x/mod v0.8.0
|
# golang.org/x/mod v0.10.0
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/mod/semver
|
golang.org/x/mod/semver
|
||||||
# golang.org/x/net v0.9.0
|
# golang.org/x/net v0.9.0
|
||||||
|
@ -940,6 +940,6 @@ modernc.org/strutil
|
||||||
# modernc.org/token v1.0.1
|
# modernc.org/token v1.0.1
|
||||||
## explicit
|
## explicit
|
||||||
modernc.org/token
|
modernc.org/token
|
||||||
# mvdan.cc/xurls/v2 v2.4.0
|
# mvdan.cc/xurls/v2 v2.5.0
|
||||||
## explicit; go 1.16
|
## explicit; go 1.19
|
||||||
mvdan.cc/xurls/v2
|
mvdan.cc/xurls/v2
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[![Go Reference](https://pkg.go.dev/badge/mvdan.cc/xurls/v2.svg)](https://pkg.go.dev/mvdan.cc/xurls/v2)
|
[![Go Reference](https://pkg.go.dev/badge/mvdan.cc/xurls/v2.svg)](https://pkg.go.dev/mvdan.cc/xurls/v2)
|
||||||
|
|
||||||
Extract urls from text using regular expressions. Requires Go 1.16 or later.
|
Extract urls from text using regular expressions. Requires Go 1.19 or later.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "mvdan.cc/xurls/v2"
|
import "mvdan.cc/xurls/v2"
|
||||||
|
|
|
@ -4,8 +4,7 @@ package xurls
|
||||||
|
|
||||||
// Schemes is a sorted list of all IANA assigned schemes.
|
// Schemes is a sorted list of all IANA assigned schemes.
|
||||||
//
|
//
|
||||||
// Source:
|
// Source: https://www.iana.org/assignments/uri-schemes/uri-schemes-1.csv
|
||||||
// https://www.iana.org/assignments/uri-schemes/uri-schemes-1.csv
|
|
||||||
var Schemes = []string{
|
var Schemes = []string{
|
||||||
`aaa`,
|
`aaa`,
|
||||||
`aaas`,
|
`aaas`,
|
||||||
|
@ -28,6 +27,7 @@ var Schemes = []string{
|
||||||
`attachment`,
|
`attachment`,
|
||||||
`aw`,
|
`aw`,
|
||||||
`barion`,
|
`barion`,
|
||||||
|
`bb`,
|
||||||
`beshare`,
|
`beshare`,
|
||||||
`bitcoin`,
|
`bitcoin`,
|
||||||
`bitcoincash`,
|
`bitcoincash`,
|
||||||
|
@ -53,6 +53,7 @@ var Schemes = []string{
|
||||||
`content`,
|
`content`,
|
||||||
`content-type`,
|
`content-type`,
|
||||||
`crid`,
|
`crid`,
|
||||||
|
`cstr`,
|
||||||
`cvs`,
|
`cvs`,
|
||||||
`dab`,
|
`dab`,
|
||||||
`dat`,
|
`dat`,
|
||||||
|
@ -76,6 +77,7 @@ var Schemes = []string{
|
||||||
`dvx`,
|
`dvx`,
|
||||||
`dweb`,
|
`dweb`,
|
||||||
`ed2k`,
|
`ed2k`,
|
||||||
|
`eid`,
|
||||||
`elsi`,
|
`elsi`,
|
||||||
`embedded`,
|
`embedded`,
|
||||||
`ens`,
|
`ens`,
|
||||||
|
@ -97,10 +99,12 @@ var Schemes = []string{
|
||||||
`geo`,
|
`geo`,
|
||||||
`gg`,
|
`gg`,
|
||||||
`git`,
|
`git`,
|
||||||
|
`gitoid`,
|
||||||
`gizmoproject`,
|
`gizmoproject`,
|
||||||
`go`,
|
`go`,
|
||||||
`gopher`,
|
`gopher`,
|
||||||
`graph`,
|
`graph`,
|
||||||
|
`grd`,
|
||||||
`gtalk`,
|
`gtalk`,
|
||||||
`h323`,
|
`h323`,
|
||||||
`ham`,
|
`ham`,
|
||||||
|
@ -144,6 +148,7 @@ var Schemes = []string{
|
||||||
`ldaps`,
|
`ldaps`,
|
||||||
`leaptofrogans`,
|
`leaptofrogans`,
|
||||||
`lorawan`,
|
`lorawan`,
|
||||||
|
`lpa`,
|
||||||
`lvlt`,
|
`lvlt`,
|
||||||
`magnet`,
|
`magnet`,
|
||||||
`mailserver`,
|
`mailserver`,
|
||||||
|
@ -161,6 +166,7 @@ var Schemes = []string{
|
||||||
`mongodb`,
|
`mongodb`,
|
||||||
`moz`,
|
`moz`,
|
||||||
`ms-access`,
|
`ms-access`,
|
||||||
|
`ms-appinstaller`,
|
||||||
`ms-browser-extension`,
|
`ms-browser-extension`,
|
||||||
`ms-calculator`,
|
`ms-calculator`,
|
||||||
`ms-drive-to`,
|
`ms-drive-to`,
|
||||||
|
@ -178,11 +184,13 @@ var Schemes = []string{
|
||||||
`ms-meetnow`,
|
`ms-meetnow`,
|
||||||
`ms-mixedrealitycapture`,
|
`ms-mixedrealitycapture`,
|
||||||
`ms-mobileplans`,
|
`ms-mobileplans`,
|
||||||
|
`ms-newsandinterests`,
|
||||||
`ms-officeapp`,
|
`ms-officeapp`,
|
||||||
`ms-people`,
|
`ms-people`,
|
||||||
`ms-project`,
|
`ms-project`,
|
||||||
`ms-powerpoint`,
|
`ms-powerpoint`,
|
||||||
`ms-publisher`,
|
`ms-publisher`,
|
||||||
|
`ms-remotedesktop-launch`,
|
||||||
`ms-restoretabcompanion`,
|
`ms-restoretabcompanion`,
|
||||||
`ms-screenclip`,
|
`ms-screenclip`,
|
||||||
`ms-screensketch`,
|
`ms-screensketch`,
|
||||||
|
@ -244,6 +252,7 @@ var Schemes = []string{
|
||||||
`opaquelocktoken`,
|
`opaquelocktoken`,
|
||||||
`openpgp4fpr`,
|
`openpgp4fpr`,
|
||||||
`otpauth`,
|
`otpauth`,
|
||||||
|
`p1`,
|
||||||
`pack`,
|
`pack`,
|
||||||
`palm`,
|
`palm`,
|
||||||
`paparazzi`,
|
`paparazzi`,
|
||||||
|
@ -300,6 +309,7 @@ var Schemes = []string{
|
||||||
`spotify`,
|
`spotify`,
|
||||||
`ssb`,
|
`ssb`,
|
||||||
`ssh`,
|
`ssh`,
|
||||||
|
`starknet`,
|
||||||
`steam`,
|
`steam`,
|
||||||
`stun`,
|
`stun`,
|
||||||
`stuns`,
|
`stuns`,
|
||||||
|
@ -309,6 +319,7 @@ var Schemes = []string{
|
||||||
`swid`,
|
`swid`,
|
||||||
`swidpath`,
|
`swidpath`,
|
||||||
`tag`,
|
`tag`,
|
||||||
|
`taler`,
|
||||||
`teamspeak`,
|
`teamspeak`,
|
||||||
`tel`,
|
`tel`,
|
||||||
`teliaeid`,
|
`teliaeid`,
|
||||||
|
@ -324,6 +335,7 @@ var Schemes = []string{
|
||||||
`tv`,
|
`tv`,
|
||||||
`udp`,
|
`udp`,
|
||||||
`unreal`,
|
`unreal`,
|
||||||
|
`upt`,
|
||||||
`urn`,
|
`urn`,
|
||||||
`ut2004`,
|
`ut2004`,
|
||||||
`uuid-in-package`,
|
`uuid-in-package`,
|
||||||
|
@ -337,9 +349,12 @@ var Schemes = []string{
|
||||||
`vscode`,
|
`vscode`,
|
||||||
`vscode-insiders`,
|
`vscode-insiders`,
|
||||||
`vsls`,
|
`vsls`,
|
||||||
|
`w3`,
|
||||||
`wais`,
|
`wais`,
|
||||||
|
`web3`,
|
||||||
`wcr`,
|
`wcr`,
|
||||||
`webcal`,
|
`webcal`,
|
||||||
|
`web+ap`,
|
||||||
`wifi`,
|
`wifi`,
|
||||||
`wpid`,
|
`wpid`,
|
||||||
`ws`,
|
`ws`,
|
||||||
|
|
|
@ -5,8 +5,8 @@ package xurls
|
||||||
// TLDs is a sorted list of all public top-level domains.
|
// TLDs is a sorted list of all public top-level domains.
|
||||||
//
|
//
|
||||||
// Sources:
|
// Sources:
|
||||||
// * https://data.iana.org/TLD/tlds-alpha-by-domain.txt
|
// - https://data.iana.org/TLD/tlds-alpha-by-domain.txt
|
||||||
// * https://publicsuffix.org/list/effective_tld_names.dat
|
// - https://publicsuffix.org/list/effective_tld_names.dat
|
||||||
var TLDs = []string{
|
var TLDs = []string{
|
||||||
`aaa`,
|
`aaa`,
|
||||||
`aarp`,
|
`aarp`,
|
||||||
|
@ -26,7 +26,6 @@ var TLDs = []string{
|
||||||
`aco`,
|
`aco`,
|
||||||
`actor`,
|
`actor`,
|
||||||
`ad`,
|
`ad`,
|
||||||
`adac`,
|
|
||||||
`ads`,
|
`ads`,
|
||||||
`adult`,
|
`adult`,
|
||||||
`ae`,
|
`ae`,
|
||||||
|
@ -185,7 +184,6 @@ var TLDs = []string{
|
||||||
`brussels`,
|
`brussels`,
|
||||||
`bs`,
|
`bs`,
|
||||||
`bt`,
|
`bt`,
|
||||||
`bugatti`,
|
|
||||||
`build`,
|
`build`,
|
||||||
`builders`,
|
`builders`,
|
||||||
`business`,
|
`business`,
|
||||||
|
@ -205,7 +203,6 @@ var TLDs = []string{
|
||||||
`cam`,
|
`cam`,
|
||||||
`camera`,
|
`camera`,
|
||||||
`camp`,
|
`camp`,
|
||||||
`cancerresearch`,
|
|
||||||
`canon`,
|
`canon`,
|
||||||
`capetown`,
|
`capetown`,
|
||||||
`capital`,
|
`capital`,
|
||||||
|
@ -720,7 +717,6 @@ var TLDs = []string{
|
||||||
`limited`,
|
`limited`,
|
||||||
`limo`,
|
`limo`,
|
||||||
`lincoln`,
|
`lincoln`,
|
||||||
`linde`,
|
|
||||||
`link`,
|
`link`,
|
||||||
`lipsy`,
|
`lipsy`,
|
||||||
`live`,
|
`live`,
|
||||||
|
@ -732,7 +728,6 @@ var TLDs = []string{
|
||||||
`loans`,
|
`loans`,
|
||||||
`locker`,
|
`locker`,
|
||||||
`locus`,
|
`locus`,
|
||||||
`loft`,
|
|
||||||
`lol`,
|
`lol`,
|
||||||
`london`,
|
`london`,
|
||||||
`lotte`,
|
`lotte`,
|
||||||
|
@ -752,7 +747,6 @@ var TLDs = []string{
|
||||||
`lv`,
|
`lv`,
|
||||||
`ly`,
|
`ly`,
|
||||||
`ma`,
|
`ma`,
|
||||||
`macys`,
|
|
||||||
`madrid`,
|
`madrid`,
|
||||||
`maif`,
|
`maif`,
|
||||||
`maison`,
|
`maison`,
|
||||||
|
@ -1070,7 +1064,6 @@ var TLDs = []string{
|
||||||
`select`,
|
`select`,
|
||||||
`sener`,
|
`sener`,
|
||||||
`services`,
|
`services`,
|
||||||
`ses`,
|
|
||||||
`seven`,
|
`seven`,
|
||||||
`sew`,
|
`sew`,
|
||||||
`sex`,
|
`sex`,
|
||||||
|
@ -1365,6 +1358,7 @@ var TLDs = []string{
|
||||||
`укр`,
|
`укр`,
|
||||||
`қаз`,
|
`қаз`,
|
||||||
`հայ`,
|
`հայ`,
|
||||||
|
`ישראל`,
|
||||||
`קום`,
|
`קום`,
|
||||||
`ابوظبي`,
|
`ابوظبي`,
|
||||||
`اتصالات`,
|
`اتصالات`,
|
||||||
|
@ -1489,7 +1483,6 @@ var TLDs = []string{
|
||||||
`网络`,
|
`网络`,
|
||||||
`联通`,
|
`联通`,
|
||||||
`臺灣`,
|
`臺灣`,
|
||||||
`诺基亚`,
|
|
||||||
`谷歌`,
|
`谷歌`,
|
||||||
`购物`,
|
`购物`,
|
||||||
`通販`,
|
`通販`,
|
||||||
|
|
|
@ -6,10 +6,10 @@ package xurls
|
||||||
// PseudoTLDs is a sorted list of some widely used unofficial TLDs.
|
// PseudoTLDs is a sorted list of some widely used unofficial TLDs.
|
||||||
//
|
//
|
||||||
// Sources:
|
// Sources:
|
||||||
// * https://en.wikipedia.org/wiki/Pseudo-top-level_domain
|
// - https://en.wikipedia.org/wiki/Pseudo-top-level_domain
|
||||||
// * https://en.wikipedia.org/wiki/Category:Pseudo-top-level_domains
|
// - https://en.wikipedia.org/wiki/Category:Pseudo-top-level_domains
|
||||||
// * https://tools.ietf.org/html/draft-grothoff-iesg-special-use-p2p-names-00
|
// - https://tools.ietf.org/html/draft-grothoff-iesg-special-use-p2p-names-00
|
||||||
// * https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
|
// - https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
|
||||||
var PseudoTLDs = []string{
|
var PseudoTLDs = []string{
|
||||||
`bit`, // Namecoin
|
`bit`, // Namecoin
|
||||||
`example`, // Example domain
|
`example`, // Example domain
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
package xurls
|
package xurls
|
||||||
|
|
||||||
const allowedUcsChar = "¡-ᙿᚁ-\u1fff\u200b-‧\u202a-\u202e‰-⁞\u2060-\u2fff、-\ud7ff豈-\ufdcfﷰ-\uffef𐀀-\U0001fffd𠀀-\U0002fffd𰀀-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd"
|
const allowedUcsChar = "¡-ᙿᚁ-\u1fff\u200b-‧\u202a-\u202e‰-⁞\u2060-\u2fff、-\ud7ff豈-\ufdcfﷰ-\uffef𐀀-\U0001fffd𠀀-\U0002fffd𰀀-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd"
|
||||||
|
|
||||||
const allowedUcsCharMinusPunc = "¢-¦¨-µ¸-¾À-ͽͿ-ΆΈ-ՙՠ-ֈ֊-ֿׁ-ׂׄ-ׇׅ-ײ\u05f5-؈؋؎-ؚ\u061c-\u061dؠ-٩ٮ-ۓە-ۿ\u070e-߶ߺ-\u082f\u083f-\u085d\u085f-ॣ०-९ॱ-ৼ৾-ੵ\u0a77-૯૱-\u0c76౸-ಃಅ-ෳ\u0df5-๎๐-๙\u0e5c-༃༓༕-྄྆-࿏࿕-࿘\u0fdb-၉ၐ-ჺჼ-፟፩-᙭ᙯ-ᙿᚁ-ᛪᛮ-᜴\u1737-៓ៗ៛-\u17ff᠆᠋-\u1943᥆-\u1a1dᨠ-\u1a9fᪧ\u1aae-᭙᭡-\u1bfbᰀ-\u1c3a᱀-ᱽᲀ-Ჿ\u1cc8-᳔᳒-\u1fff\u200b-―‘-‟\u202a-\u202e‹-›‿-⁀⁄-⁆⁒⁔\u2060-\u2cf8⳽ⴀ-ⵯ\u2d71-ⷿ⸂-⸅⸉-⸊⸌-⸍⸗⸚⸜-⸝⸠-⸩ⸯ⸺-⸻⹀⹂⹐-⹑\u2e53-\u2fff〄-〼〾-ヺー-ꓽꔀ-ꘌꘐ-꙲ꙴ-꙽ꙿ-꛱\ua6f8-ꡳ\ua878-\ua8cd꣐-ꣷꣻꣽ-꤭ꤰ-\ua95eꥠ-꧀\ua9ce-\ua9ddꧠ-\uaa5bꩠ-ꫝꫠ-ꫯꫲ-ꯪ꯬-\ud7ff豈-\ufdcfﷰ-️︗-︘\ufe1a-︯︱-﹄﹇-﹈﹍-﹏\ufe53﹘-﹞﹢-\ufe67﹩\ufe6c-\uff00$(-)+-0-9<->A-[]-⦆「-」ヲ-\uffef𐀀-\U000100ff\U00010103-\U0001039e𐎠-𐏏𐏑-\U0001056e\U00010570-\U00010856𐡘-\U0001091e𐤠-\U0001093e\U00010940-\U00010a4f\U00010a59-𐩾𐪀-𐫯\U00010af7-\U00010b38𐭀-\U00010b98\U00010b9d-𐽔\U00010f5a-𑁆\U0001104e-𑂺\U000110bd\U000110c2-𑄿𑅄-𑅳𑅶-𑇄𑇉-𑇌𑇎-𑇚𑇜\U000111e0-𑈷𑈾-𑊨\U000112aa-𑑊𑑐-𑑙\U0001145c𑑞-𑓅𑓇-𑗀𑗘-𑙀𑙄-\U0001165f\U0001166d-𑜻𑜿-𑠺\U0001183c-𑥃\U00011947-𑧡𑧣-𑨾𑩇-𑪙𑪝\U00011aa3-𑱀\U00011c46-\U00011c6f𑱲-𑻶\U00011ef9-\U00011ffe𒀀-\U0001246f\U00012475-\U00016a6d\U00016a70-𖫴\U00016af6-𖬶𖬼-𖭃𖭅-𖺖\U00016e9b-𖿡𖿣-𛲞\U0001bca0-𝪆\U0001da8c-\U0001e95d\U0001e960-\U0001fffd𠀀-\U0002fffd𰀀-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd"
|
const allowedUcsCharMinusPunc = "¢-¦¨-µ¸-¾À-ͽͿ-ΆΈ-ՙՠ-ֈ֊-ֿׁ-ׂׄ-ׇׅ-ײ\u05f5-؈؋؎-ؚ\u061c-\u061dؠ-٩ٮ-ۓە-ۿ\u070e-߶ߺ-\u082f\u083f-\u085d\u085f-ॣ०-९ॱ-ৼ৾-ੵ\u0a77-૯૱-\u0c76౸-ಃಅ-ෳ\u0df5-๎๐-๙\u0e5c-༃༓༕-྄྆-࿏࿕-࿘\u0fdb-၉ၐ-ჺჼ-፟፩-᙭ᙯ-ᙿᚁ-ᛪᛮ-᜴\u1737-៓ៗ៛-\u17ff᠆᠋-\u1943᥆-\u1a1dᨠ-\u1a9fᪧ\u1aae-᭙᭡-\u1bfbᰀ-\u1c3a᱀-ᱽᲀ-Ჿ\u1cc8-᳔᳒-\u1fff\u200b-―‘-‟\u202a-\u202e‹-›‿-⁀⁄-⁆⁒⁔\u2060-\u2cf8⳽ⴀ-ⵯ\u2d71-ⷿ⸂-⸅⸉-⸊⸌-⸍⸗⸚⸜-⸝⸠-⸩ⸯ⸺-⸻⹀⹂⹐-⹑\u2e53-\u2fff〄-〼〾-ヺー-ꓽꔀ-ꘌꘐ-꙲ꙴ-꙽ꙿ-꛱\ua6f8-ꡳ\ua878-\ua8cd꣐-ꣷꣻꣽ-꤭ꤰ-\ua95eꥠ-꧀\ua9ce-\ua9ddꧠ-\uaa5bꩠ-ꫝꫠ-ꫯꫲ-ꯪ꯬-\ud7ff豈-\ufdcfﷰ-️︗-︘\ufe1a-︯︱-﹄﹇-﹈﹍-﹏\ufe53﹘-﹞﹢-\ufe67﹩\ufe6c-\uff00$(-)+-0-9<->A-[]-⦆「-」ヲ-\uffef𐀀-\U000100ff\U00010103-\U0001039e𐎠-𐏏𐏑-\U0001056e\U00010570-\U00010856𐡘-\U0001091e𐤠-\U0001093e\U00010940-\U00010a4f\U00010a59-𐩾𐪀-𐫯\U00010af7-\U00010b38𐭀-\U00010b98\U00010b9d-𐽔\U00010f5a-𑁆\U0001104e-𑂺\U000110bd\U000110c2-𑄿𑅄-𑅳𑅶-𑇄𑇉-𑇌𑇎-𑇚𑇜\U000111e0-𑈷𑈾-𑊨\U000112aa-𑑊𑑐-𑑙\U0001145c𑑞-𑓅𑓇-𑗀𑗘-𑙀𑙄-\U0001165f\U0001166d-𑜻𑜿-𑠺\U0001183c-𑥃\U00011947-𑧡𑧣-𑨾𑩇-𑪙𑪝\U00011aa3-𑱀\U00011c46-\U00011c6f𑱲-𑻶\U00011ef9-\U00011ffe𒀀-\U0001246f\U00012475-\U00016a6d\U00016a70-𖫴\U00016af6-𖬶𖬼-𖭃𖭅-𖺖\U00016e9b-𖿡𖿣-𛲞\U0001bca0-𝪆\U0001da8c-\U0001e95d\U0001e960-\U0001fffd𠀀-\U0002fffd𰀀-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd"
|
||||||
|
|
Loading…
Reference in New Issue