Meta interview question

Regex string matching implementation for a particular set of patterns