#url #pattern #matcher #gather #fields

url-matcher

Gather fields from URLS using patterns

1 unstable release

0.1.0 Mar 19, 2024

#4 in #gather

Download history 157/week @ 2024-03-16 16/week @ 2024-03-23 24/week @ 2024-03-30 4/week @ 2024-04-06

201 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
~78K SLoC