#url #field #pattern #matcher #gather

url-matcher

Gather fields from URLS using patterns

1 unstable release

0.1.0 Mar 19, 2024

#11 in #gather

30 downloads per month
Used in 2 crates (via gitfrog)

GPL-3.0 license

15KB
66 lines

url-matcher

Usage

use url_matcher::matcher;
let result = matcher("http://github.com/:owner", "http://github.com/mrtnvgr").unwrap();
assert_eq!(result.get("owner"), Some("mrtnvgr").as_ref());

Dependencies

~2.6–4MB
~77K SLoC