intel / hyperscan

High-performance regular expression matching library
https://www.hyperscan.io
Other
4.71k stars 705 forks source link

The regex compile error #404

Closed zrpkid closed 1 year ago

zrpkid commented 1 year ago

when I compile the regex '^(?=.[0-9])(?=.[a-zA-Z])(?=.*[!@#$])[0-9a-zA-Z!@#$]{12,18}$' , I got an error 'Details: Code: -4; Error: 0; What: Zero-width assertions are not supported. ' , how can I solve it ?

zrpkid commented 1 year ago

can hyperscan supports regex like zero-width assertions '?=' ?