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
const id = uuid(); console.log(uuid.test(id)); // true console.log(uuid.test(id.toUpperCase())); // false
I think treating uppercased hexadecimals as invalid aren't right. test() function's regexp should be case-insensitive.
test()
The text was updated successfully, but these errors were encountered:
Yep I agree, great catch. Will push a fix.
Sorry, something went wrong.
Fixes #17 - case insensitive test()
4a09b09
Adds a test for #17
3170e13
14aca40
06ca8aa
Successfully merging a pull request may close this issue.
I think treating uppercased hexadecimals as invalid aren't right.
test()
function's regexp should be case-insensitive.The text was updated successfully, but these errors were encountered: