Something about compile error
Dear developer: Hello, I have a strange error. After I load json from a rule library, I had a error about compile failed.As follow, “ret -4, msg = Unterminated character class starting at index 2.” “ret” is the value the is returned, and msg is the reason of error. Specially, I think my load a right rule library, because the error will appear randomly in the same running code. For example, I will run the same program repeatedly for 10 times, and this error will occur for 3 times. The rest will work normally. So please tell me whether I did something wrong or tell me how to solve that
@Librarvl , this looks like a semantic error existing in your rule. Can you find the rule that triggers this error?
I have carefully check my semantic of rule library. I don`t find any incorrect things. And if my rule library has error, the function, compile_hyperscan, should always fail to compile. Actually, sometimes it can compile successfully. So can you explain this problem? Thank you very much!
And the following is the content of my rule library:
https://www.cnblogs.com/Librarvl/p/12911246.html
Looking forward to your reply.