Why is this not working?

Your code so far


let chewieQuote = "Aaaaaaaaaaaaaaaarrrgh!";
let chewieRegex = /Aa*/ig; // Change this line
let result = chewieQuote.match(chewieRegex);

You’re saying it’s case insensitive (the i flag) and global (the g flag), so you’re just saying “match characters A or a followed by zero or more A or a characters anywhere in the string”