Skip to content

Literals and classes

·

predict · routine

Read the email validator

This is the email pattern that appears in a thousand codebases. Before running it, say which of these addresses it accepts. Three of them are real addresses that a person actually has.

//
^+@+\.{2,3}$

Your prediction

One row per input: whether it matches, and what each group captures
InputMatches?
[email protected]
o'[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Nothing runs until you have answered every row.