package
0.0.0-20210201173354-8cba18c2dd1c
Repository: https://github.com/ugorji/go-common.git
Documentation: pkg.go.dev
# README
go-common/regexputil
This repository contains the go-common/regexputil
library.
To install:
go get github.com/ugorji/go-common/regexputil
Package Documentation
Package regexputil provides utility functions for regexp.
Exported Package API
func Interpolate(s string, vars map[string]interface{}) string
func ParseRegexTemplate(s string) (re *regexp.Regexp, clean string, takeys []string, err error)
func PathMatchesStaticFile(path string) (isMatch bool)