Minor Incorrect Instructions in Directions

Tell us what’s happening:
Describe your issue in detail here:
"Fix the regex so that it checks for the names of Franklin Roosevelt" in the instructions should be "Fix the regex so that it checks for the names of Franklin D. Roosevelt"
b/c the checks for final solution expect true for “Franklin D. Roosevelt” and false for “Franklin Roosevelt”
That or flip the checks for the solution around.

Just thought I’d let someone know somewhere.

Your code so far


let myString = "Eleanor Roosevelt";
let myRegex = /False/; // Change this line
let result = false; // 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/91.0.4472.77 Safari/537.36

Challenge: Check For Mixed Grouping of Characters

Link to the challenge:

b/c the checks for final solution expect true for “Franklin D. Roosevelt”

I think that that is covered by, “…and it should make concessions for middle names.”

and false for “Franklin Roosevelt”

No, it should return false for misspellings like “Franklin Rosevelt” or alternate spellings like, “Frank Roosevelt”. But “Franklin Roosevelt” should return true.

1 Like