url-matcher 0.1.0

Gather fields from URLS using patterns
Documentation

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());