🦖 Tyrannosaurus Regex
Syntax Basics Island
Level 9: Inigo
9 of 13
Question mark: match zero or one of the preceding element
The question mark (?) is a shorthand for {0,1} and matches 0 or 1 occurrences of the preceding element. Inigo likes words with p followed by c, optionally with a vowel in between.
/ /
✅ Should Match (0 / 4)
ripcord
pact
hepcat
species
❌ Should not Match (0 / 4)
pouch
parcel
peace
soporific