2
1
mirror of https://github.com/therootcompany/serviceman.git synced 2025-04-20 14:21:04 +00:00
2019-07-01 02:44:54 -06:00

12 lines
245 B
Go

package config
import "regexp"
var (
// used to remove comments from json
regexComments = regexp.MustCompile(`\/\/([\w\s\'].*)`)
// SafeVarName is used to remove special chars from paths
SafeVarName = regexp.MustCompile(`[^a-zA-Z0-9]`)
)