Tell us what’s happening:
I’m not sure why these tests are failing:
Your regex should not match any characters in
"He made a fair move. Screaming about it can't help you."
Your regex should not match any characters in
"Let him have it. It's not wise to upset a Wookiee."
If I use console.log with the above tests swapped into chewieQuote
I don’t see any matches in the console…
Your code so far
let chewieQuote = "Aaaaaaaaaaaaaaaarrrgh!";
let chewieRegex = /A*a*/; // Change this line
let result = chewieQuote.match(chewieRegex);
console.log(result);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36
.
Link to the challenge: