to acheive reusage functionality, use regex capture to block out parts of the route you want to ignore
fix broken form-submit event hijacking
Revert "firstmatch should be called bestmatch"

actually no, it should be firstmatch - using match length to determine the best match makes no sense

This reverts commit e111258e2a8b79571067e0581ab03f422e9a961e.
fix firstmatch logic