I'm looking for a way to match strings like express does with it's routes, that is, combine "/:id/:thing" and "/5/6" into {id: 5, thing:6}, but I can't find express' code for it. Does anybody know a way to do this?