Tell us what’s happening:
I don’t understand what is wrong with my code. when I run the code on my console, it does not match any characters for
“He made a fair move. Screaming about it can’t help you.” and
“Let him have it. It’s not wise to upset a Wookiee.”
yet it does not meet these requirements on the beta free code camp and would not submit to move me to the next level.
Your code so far
let chewieQuote = "Aaaaaaaaaaaaaaaarrrgh!"; let chewieRegex = /a*/i; // Change this line let result = chewieQuote.match(chewieRegex); console.log(result);
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36.
Link to the challenge: