// CompileNamespace split's on the first '.' and then compiles the second portion to use as the msg filter
CompileNamespace split's on the first '.' and then compiles the second portion to use as the msg filter
// CompileNamespace split ' s on the first ' . ' and then compiles the second portion to use as the msg filter
func (c *Config) CompileNamespace() (string, *regexp.Regexp, error) {
	field0, field1, err := c.splitNamespace()
	if err != nil {
		return "", nil, err
	}
	compiledNs, err := regexp.Compile(strings.Trim(field1, "/"))
	return field0, compiledNs, err
}
func ( c * Config ) CompileNamespace ( ) ( string , * regexp . Regexp , error ) { field0 , field1 , err := c . splitNamespace ( ) if err != nil { return " " , nil , err } compiledNs , err := regexp . Compile ( strings . Trim ( field1 , " " ) ) return field0 , compiledNs , err }
CompileNamespace split's on the first '.'
CompileNamespace split ' s on the first ' . '