Compiles a route to a RegExp pattern
compileRoute('/user/:id')
// /^\/user\/(?<id>[,a-zA-Z0-9%_-]*)(\?[a-zA-Z0-9%_=&-]*)?$/
compileRoute('/@(\\w{1,16})/get/:id')
// /^\/@(\w{1,16})\/get\/(?<id>[,a-zA-Z0-9%_-]*)(\?[a-zA-Z0-9%_=&-]*)?$/
Generated using TypeDoc
The handler called when a match is found