mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-09 02:22:18 +00:00
3372abc06f
Fuzzyurl provides two related functions: non-strict parsing of URLs or URL-like strings into their component pieces (protocol, username, password, hostname, port, path, query, and fragment), and fuzzy matching of URLs and URL patterns. Specifically, URLs that look like this: [protocol ://] [username [: password] @] [hostname] [: port] [/ path] [? query] [# fragment] Fuzzyurls can be constructed using some or all of the above fields, optionally replacing some or all of those fields with a * wildcard if you wish to use the Fuzzyurl as a URL mask. WWW: https://github.com/gamache/fuzzyurl.rb
13 lines
598 B
Plaintext
13 lines
598 B
Plaintext
Fuzzyurl provides two related functions: non-strict parsing of URLs or URL-like
|
|
strings into their component pieces (protocol, username, password, hostname,
|
|
port, path, query, and fragment), and fuzzy matching of URLs and URL patterns.
|
|
|
|
Specifically, URLs that look like this:
|
|
[protocol ://] [username [: password] @] [hostname] [: port] [/ path] [? query] [# fragment]
|
|
|
|
Fuzzyurls can be constructed using some or all of the above fields, optionally
|
|
replacing some or all of those fields with a * wildcard if you wish to use the
|
|
Fuzzyurl as a URL mask.
|
|
|
|
WWW: https://github.com/gamache/fuzzyurl.rb
|