Releases: mvdan/xurls
Releases · mvdan/xurls
v0.8.0
Renamed StrictMatching
to StrictMatchingScheme
Add #
as valid end character (empty fragment)
Add =
as valid end character (for base64)
Wrap exported regexes in parenthesis
Add IANA special use domain names to PseudoTLDs
Update TLDs
v0.7.0
Add file:
as a valid scheme
Make StrictMatching
be case insensitive
Add support for matching brackets, just like parenthesis
Export SchemesNoAuthority
Update TLDs
v0.6.0
Improve support for well-parenthesized urls
Properly ignore non-letter characters like non-breaking space
Better support for numbers and symbols via regex unicode character classes
Add |
and remove "
as valid characters
Remove #
, =
and @
as valid ending characters
v0.5.1
cmd/xurls
Improve help text to explain file arguments
Abort if we cannot open a file
v0.5.0
Add .gnu
and .zkey
as pseudo-TLDs
Add go test
benchmarks
cmd/xurls
Allow passing of files as arguments
v0.4.1
Don't panic if the scheme regexp given to StrictMatching fails to compile
cmd/xurls
-m
followed by an invalid regexp would panic due to the bug above
v0.4.0
Rename AllStrict
to Strict
and All
to Relaxed
Add StrictMatching(string)
for creating a strict regex with a custom scheme regular expression
cmd/xurls
Use Strict
by default, replace -s
for "strict" with -r
for "relaxed"
Add -m
for specifying a scheme matching regex
Better usage/help output
v0.3.0
Add support for arbitrary protocols with schemes
Remove -e
flag (to be reworked into a better flag soon)
Add -s
flag for only matching URLs with schemes
Update known TLD list
Drop chars like .,:;!?'"
if at the end of the URL
Drop )
if at the end of the URL and not well parenthesized
Fix false positives like ::
or randomxmpp:foo
v0.2.1
Add pseudo-tlds (.onion, .i2p, ...)
Remove ascii-encoded internationalized tlds from tlds.go
Better and easier go generate
code generation
cmd/xurls : Read input by words instead of lines
v0.2
Update TLD list via golang and go generate
Make go generate
also build regex strings
You can’t perform that action at this time.