Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 226 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 226 Bytes

Max Matcher

Example

val matcher = Matcher("/:user/:repo")
val uri = Uri.parse("http://github.com/pardom/max")

matcher.matches(uri) // true
matcher.match(uri) // mapOf("user" to  "pardom", "repo" to "max")