add that at the top of the page
simplify that, should be slightly more efficient
privatize setPath(Pattern)
setPattern more descriptive
allow trailing slashes
fill in missing assertion
put the optional slash back inside the replacePattern as well
test case for forgotten slashes
root route test case
printing stack trace is redundent there