atsid / express-jefferson

Declarative Application Routing
Apache License 2.0
4 stars 1 forks source link

Add support for regex routes #34

Open darthtrevino opened 9 years ago

darthtrevino commented 9 years ago

Ideas:

regexRoutes: [
   {   regex: /my_regex/, middleware: [] } 
]
aliases: {
   myRegex: /my_regex/
},
routes: {
    'alias::myRegex': {
         get: []
    }
}