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
Given the following example:
var murl = require('murl'); var program = murl('/program/{id}'); console.log(program('/program/1')); console.log(program('/program/1/'));
The output is:
{ id: '1' } { id: '1' }
Can I somehow specify an option, so that the last pattern does not match (ending with a slash)?
The text was updated successfully, but these errors were encountered:
ac3c645
Upgrade to 0.3 and pass {strict:true} to murl Let me know if this fixes your problem.
{strict:true}
Sorry, something went wrong.
Yes, it does. Thanks!
No branches or pull requests
Given the following example:
The output is:
Can I somehow specify an option, so that the last pattern does not match (ending with a slash)?
The text was updated successfully, but these errors were encountered: