Some rule canot compile with regexp.Compile() (PCRE error)
var list []AppRegexp
for _, regexString := range s {
// Split version detection
splitted := strings.Split(regexString, "\\;")
regex, err := regexp.Compile(splitted[0]) //here
if err != nil {
// ignore failed compiling for now
// log.Printf("warning: compiling regexp for failed: %v", regexString, err)
}
Hi,
Some rule canot compile with regexp.Compile() (PCRE error)