Adds regex matching support
Documents the regex option