package dshgroup import ( "regexp" "r00t2.io/goutils/remap" ) const ( dshGrpPathEnv string = "DSHGROUP_PATH" ) // DSH Groups var ( dshGrpDefGrpDir string = "/etc/dsh/group" dshGrpInclPtrn *remap.ReMap = &remap.ReMap{Regexp: regexp.MustCompile(`^\s*#include\s+(?P.+)$`)} dshGrpSubTokenPtrn *remap.ReMap = &remap.ReMap{Regexp: regexp.MustCompile(`^(?P0+)?(?P[0-9]+)(-(?P0+)?(?P[0-9]+))?$`)} )