$ ./guess_the_languageRegex
Regex · easy · #7

Which input does this pattern match?

/^colou?r$/
  1. "color"
  2. "colouur"
  3. "colr"
  4. "colur"
? makes the preceding u optional (zero or one), so both "color" and "colour" match.
Play Regex ▸