regex in useMatch
Is there a way to use a regex in useMatch? I would like to match
/book/2
... but not just /book
3 Replies
You can use the optional MatchFilter argument, which is unfortunately undocumented. The types show that a regex is supported, at least.
I don't want to @ Ryan, but it seems he added this functionality without properly documenting it.
ok I'm gonna try figuring out how to use it with MatchFilter, thanks
Good luck!