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
Node.js version: v20.9.0
OS version: FreeBSD freebsd 13.2-RELEASE-p4
Description: URL with ) characters are not matched.
)
Testing with an exact match against a url like http://foo.com/blah_blah_(wikipedia) returns false.
http://foo.com/blah_blah_(wikipedia)
Testing with an exact match against a URL like http://foo.com/blah_blah_(wikipedia) should return true.
const urlRegex = require( 'url-regex-safe' ); const s0 = 'http://foo.com/blah_blah_(wikipedia'; const s1 = 'http://foo.com/blah_blah_(wikipedia)'; // Returns true as expected console.log(urlRegex({exact: true}).test(s0)); // Should be true, but return false console.log(urlRegex({exact: true}).test(s1));
The text was updated successfully, but these errors were encountered:
PR welcome!
Sorry, something went wrong.
also need for this
PR is welcome
No branches or pull requests
Describe the bug
Node.js version: v20.9.0
OS version: FreeBSD freebsd 13.2-RELEASE-p4
Description: URL with
)
characters are not matched.Actual behavior
Testing with an exact match against a url like
http://foo.com/blah_blah_(wikipedia)
returns false.Expected behavior
Testing with an exact match against a URL like
http://foo.com/blah_blah_(wikipedia)
should return true.Code to reproduce
Checklist
The text was updated successfully, but these errors were encountered: