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
in module #5 titled "negated character class", the tests don't cover an incorrect answer.
//CORRECT ANSWER: module.exports = function (str) { return /^[^0-9][^A-Z]/.test(str) }
//INCORRECTLY ACCEPTS: module.exports = str => /[^0-9][^A-Z]/.test(str)/
//AND: module.exports = str => /\D[^A-Z]/.test(str)
that means that the string does not have to start with a non-digit, just contain this sequence of two numbers somewhere within it.
The text was updated successfully, but these errors were encountered:
you are right, i got this problem too
Sorry, something went wrong.
No branches or pull requests
in module #5 titled "negated character class", the tests don't cover an incorrect answer.
//CORRECT ANSWER:
module.exports = function (str) {
return /^[^0-9][^A-Z]/.test(str)
}
//INCORRECTLY ACCEPTS:
module.exports = str => /[^0-9][^A-Z]/.test(str)/
//AND:
module.exports = str => /\D[^A-Z]/.test(str)
that means that the string does not have to start with a non-digit, just contain this sequence of two numbers somewhere within it.
The text was updated successfully, but these errors were encountered: