We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From Marvin on the restify list:
server.get({path: '/name/:name', flags: 'i'},function(req, res, next) { res.send('Hello ' + req.params.name); });
That is, basically allow case insensitive routes without requiring an instance of RegExp.
RegExp
The text was updated successfully, but these errors were encountered:
GH-146 Allow setting of regex flags even if path is a string
8a901e8
Fixed in master. Will be in 1.4.3
Sorry, something went wrong.
No branches or pull requests
From Marvin on the restify list:
That is, basically allow case insensitive routes without requiring an instance of
RegExp
.The text was updated successfully, but these errors were encountered: