Registry / utility / xurls-v2

xurls-v2

JSON →
library2.6.0gogounverified

Package xurls extracts urls from plain text using regular expressions.

go get mvdan.cc/xurls/v2
INSTALL
IMPORT
SIG · XURLS-V2
X
xurls-v2
utilitygov2.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

xurls
mvdan.cc/xurls/v2

Extract URLs from a string

package main import ( "fmt" "mvdan.cc/xurls/v2" ) func main() { urls := xurls.Strict.FindAllString("Visit https://example.com", -1) fmt.Println(urls) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
xurls-v2 — go get xurls-v2 · libregistry