`return parse(pattern)` should be just enough.