An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/zach-klippenstein/go-typedregexp

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 - Source - Documentation - JSON
purl: pkg:golang/github.com/zach-klippenstein/go-typedregexp
License: Apache-2.0
Latest release: over 9 years ago
First release: over 9 years ago
Namespace: github.com/zach-klippenstein
Stars: 15 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 28 days ago

    Loading...
    Readme
    Loading...