express.js regex pattern rewriting