Tell us what’s happening:
i am tired half an hour stuck in this easy challenge
the compiler said :
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.”
Your code so far
let chewieQuote = "Aaaaaaaaaaaaaaaarrrgh!";
let chewieRegex = /A*/ig; // 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/68.0.3440.75 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