bcosca/fatfree-core — pull request #12 by xfra35 (2014-12-31 10:12:43+00:00)
Title: Better route precedence order

Hi,

Since https://github.com/bcosca/fatfree/issues/313 we're having wildcards taking precedence over tokens. I think the initial order was more intuitive. This PR is an attempt to fix it.

**Previous precedence order**

* `/foo/bar`
* `/foo/*`
* `/foo/@b`
* `/foo`
* `/*`
* `/@a`

**New precedence order**

* `/foo/bar`
* `/foo/@b`
* `/foo/*`
* `/foo`
* `/@a`
* `/*`