>_ IzzyLab

Topic breakdown

Extracting substrings by pattern is grep in "print only the match" mode, not the whole line. An email decomposes into three parts: the local part, a literal @, and the domain with its top-level zone. Each part is described by a character class [...] with a "one or more" quantifier (+), and the dot before the zone, when outside a class, must be escaped, otherwise it means "any character". The key idea is understanding where a character is literal and where it's a regex metacharacter.

What's checked

  1. All addresses found
  2. Addresses extracted whole

What it looks like