express 支持 正则解析
app.get(/^\/category\/([^/]+)(\/(\d).html)?/ig, category.list);
正则后面千万不要加 g
app.get(/^\/category\/([^/]+)(\/(\d).html)?/i, category.list);