please help me with this i have put my code but it does not pass here is the code => let favWord = "favorite"; let favRegex = /favorit?e/; let result = favRegex.test(favWord);
here is the challenge link: https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none
What do the failing tests say?
your regex should match favourite number 3 on the row
Notice the spelling of the word this test is supposed to match.
Thank you @ArielLeslie i managed to get it right. /favou?rite/
Congratulations on figuring it out. Happy coding!