Xurls Versions Save

Extract urls from text

v0.7.0

8 years ago
  • 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

8 years ago
  • 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

8 years ago
  • cmd/xurls
    • Improve help text to explain file arguments
    • Abort if we cannot open a file

v0.5.0

8 years ago
  • Add .gnu and .zkey as pseudo-TLDs
  • Add go test benchmarks
  • cmd/xurls
    • Allow passing of files as arguments

v0.4.1

9 years ago
  • 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

9 years ago
  • 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

9 years ago
  • 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

9 years ago
  • 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

9 years ago
  • Update TLD list via golang and go generate
  • Make go generate also build regex strings

v0.1

9 years ago

Initial release.