问题:
使用hyperscan5.0.0编译下面逻辑组合(Logical Combinations):
!101 !101|102 !101&!102 !(101&102)
报错如下:
Has match from purely negative sub-expressions.
原因:
Hyperscan5.0.0 不支持 purely negative sub-expressions.
解决:
将Hyperscan 升级新版本,这里升级为Hyperscan 5.4.0,可以正常编译。
参考:
http://intel.github.io/hyperscan/dev-reference/compilation.html#logical-combinations