url-matcher

Crates.iourl-matcher
lib.rsurl-matcher
version0.1.0
sourcesrc
created_at2024-03-19 14:48:37.144001
updated_at2024-03-19 14:48:37.144001
descriptionGather fields from URLS using patterns
homepage
repositoryhttps://github.com/mrtnvgr/url-matcher
max_upload_size
id1179329
size38,845
(mrtnvgr)

documentation

README

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());
Commit count: 3

cargo fmt