Define maybePrefixMatch, which is like prefixMatch but returns the rest of the String after the match.