Specify Upper and Lower Number of Matches0

Tell us what’s happening:
I see this one test case failing. Can anyone help me out. Thanks in advance.

Your code so far

let ohStr = "Ohhh no";
let ohRegex = /oh{3,6}/i; // Change this line
let result = ohRegex.test(ohStr);

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0.

Link to the challenge:

Not sure what your asking and why are you using the case insensitive i ? You forgot to complete the phrase “ohhh no”. Does this help?
@nohitha I changed the 6 to different numbers without the test results changing. For example, I couldn’t limit it to 5 or 4 with your answer. it’s like the upper limit isn’t functioning. I think, but don’t know how to definitively prove, that because you didn’t complete the phrase that the expression is open ended.

this is the only test case which fails.
Your regex should not match "Ohhhhhhh no"

Your regex does match this. Why? Well, it matches these characters:

Ohhhhhhh no

You need a regex that will have 0 matches for this string.