module.exports.routes = { // sends matching regex (few patterns) as 'page' param 'r|/foo/([0-9]+)|page': 'FooController.get', 'r|/foo/(.*)|page': 'FooController.get', 'r|/foo/(\\w+)|page': 'FooController.get' };