Support PCRE
lochv opened this issue · comments
LocHV commented
Hi,
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)
}
Robin Verton commented
Hi,
there standard lib does not support it, so I cant offer a simple solution here.
If you have any suggestions, feel free to reopen this issue.
Greetings,
Robin