Match Literal Strings
Summary
- Regex searches will only return true if two strings match perfectly.
Final Code
let waldoIsHiding = "Somewhere Waldo is hiding in this text.";
let waldoRegex = /Waldo/; // Change this line
let result = waldoRegex.test(waldoIsHiding);