hyperscan

High-performance regular expression matching library for pattern searching

brewmacoslinux
Try with needOr install directly
Source

About

High-performance regular expression matching library

Examples

search text for patterns really fast$ hyperscan-compile-patterns 'regex_patterns.txt' -o compiled.hs && hyperscan-scan compiled.hs input.txt
find multiple patterns in large files$ echo 'pattern1|pattern2|pattern3' | hyperscan-tool scan large_file.txt
compile regex patterns for reuse$ hyperscan-compile-patterns patterns.txt -o database.hs
scan network traffic for malicious strings$ tcpdump -r capture.pcap | hyperscan-scan compiled_malware_sigs.hs
match many patterns at once in text$ hyperscan-scan -m compiled_patterns.hs /var/log/system.log