Skip to content

Latest commit

 

History

History

matcher

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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")