A couple issues:
It asks for Franklin Roosevelt but then after running it changes the request to Franklin D. Roosevelt.
When adding the D. or without it the test does not pass the last condition. Even using the suggested hint answer (which I had already tried) does not work.
Your code so far
let myString = "Eleanor Roosevelt"; let myRegex = /(Franklin D.|Eleanor) Roosevelt/; // Change this line myRegex.test(myString); // Change this line // After passing the challenge experiment with myString and see how the grouping works
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36.
Challenge: Check For Mixed Grouping of Characters
Link to the challenge: