Can’t solve this. I have tried everything I can and still can’t pass.
see the following solutions that I have tried:
Your code so far
let chewieQuote = “Aaaaaaaaaaaaaaaarrrgh!”;
let chewieRegex = /A-a*/ig; // Change this line
let result = chewieQuote.match(chewieRegex);
let chewieRegex = /A*/ig; // Change this line
…
let chewieRegex = /a*/ig; // Change this line
…
let chewieRegex = /A*/i; // Change this line
…
let chewieRegex = /a*/; // Change this line
and so on. Nothing works. What am I doing wrong?
let chewieQuote = "Aaaaaaaaaaaaaaaarrrgh!";
let chewieRegex = /A-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; rv:61.0) Gecko/20100101 Firefox/61.0.