The Regex Riddle

You are in a room with two doors. One door is a regex pattern, the other is a regex pattern as well. You can open one door at a time. The regex pattern that leads you to a room with two more doors is a (.*)\1. Which door do you open?

Need help? Click here for the answer and explanation!

Or maybe you want to try another riddle?

Answer Explanation Another Riddle Back to Answer