Hi everyone.
In doing this exercise, I encountered the the errors " Your regex should not match any characters in `“He made a fair move. Screaming about it can’t help you” and
"Your regex should not match any characters in “Let him have it. It’s not wise to upset a Wookiee.”
What am I expected to do here?
Your code so far
let chewieQuote = "Aaaaaaaaaaaaaaaarrrgh!";
let chewieRegex = /a*/i; // Change this line
let result = chewieQuote.match(chewieRegex);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/match-characters-that-occur-zero-or-more-times