evantahler/actionHero — pull request #206 by norman784 (2013-08-29 04:42:54+00:00)
Title: fix the issue when the parts of the url are lower parts of the routes

Got an error when call my restful api with the url http://localhost:8080/1/users

```javascript
exports.routes = {
get: [
{ path: "/:apiVersion/users/:id([a-z0-9]{24})", action: "usersRetrieve" },
{ path: "/:apiVersion/users", action: "usersQuery" },
],
post: [
{ path: "/:apiVersion/users", action: "usersSignUp" },
],
put: [
{ path: "/:apiVersion/users/:id([a-z0-9]{24})", action: "usersUpdate" },
],
delete: [
{ path: "/:apiVersion/users/:id([a-z0-9]{24})", action: "usersDelete" },
]
};
```

And got this error:

```
/path/to/my/node/node_modules/actionHero/initializers/routes.js:48
var matches = urlParts[i].match(regexp);
^
TypeError: Cannot call method 'match' of undefined
```

With this small fix works as expected