Crates.io | url-matcher |
lib.rs | url-matcher |
version | 0.1.0 |
source | src |
created_at | 2024-03-19 14:48:37.144001 |
updated_at | 2024-03-19 14:48:37.144001 |
description | Gather fields from URLS using patterns |
homepage | |
repository | https://github.com/mrtnvgr/url-matcher |
max_upload_size | |
id | 1179329 |
size | 38,845 |
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());