fixed format detection bug in Mojolicious::Routes::Pattern