regex in useMatch

Is there a way to use a regex in useMatch? I would like to match
/book/2
... but not just
/book
Was this page helpful?