Request dispatch on regexes instead of prefixes

Request dispatch on anchored regexes. Was previously dispatching on
prefixes, and the empty prefix would capture any URL not matched
elsewhere, causing all unmatched URLs to go to the index.