proxy.golang.org : github.com/zach-klippenstein/go-typedregexp : v0.0.0-20160120160445-14b2ab8863e3
Package typedregexp matches regular expressions into structs. Regular expressions are specified as a template string (ala text/template), and a struct value whose fields must all be strings. Each field on the struct must contain a valid regular expression. The template string then has each reference to each field replaced with a capture group that matches the corresponding sub-expression in the field. POSIX regular expressions are not supported. regexp.CompilePOSIX can't handle named capture groups. The returned TypedRegexp can be used to fill a struct. values is now: See Examples for more features.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/zach-klippenstein/[email protected]
Published:
Indexed: