github.com/mkmik/regexpflag (go): Package regexpflag implements a custom "regexp" flag  Usage:  If you invoke it with:  myFlag will contain a *regexp.Regexp
Keywords: go|regexp