All challenges
Multiple ChoiceIntermediate 30s

re.match vs search

Choose the best answer for: regex matching
Options
  1. 1re.match anchors at the start of string
  2. 2re.match and re.search are identical
  3. 3re.match returns all matches
  4. 4re.match searches anywhere

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle