Meta Interview Question

Regex matching