Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
1–10 of 37 posts
Re: Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
#2Re: Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
#3Re: Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
#4This seems tailor-made for deep packet inspection.
Re: Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
#5Author here, in case anyone wants to question, abuse, argue, etc.
Let me seize the opportunity. I have a problem where I need to match multiple person names (hundreds of thousands) in huge texts. Aho-Corasick works good for exact matches. Could HyperScan works for approximated matches?
Re: Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
#6This seems tailor-made for deep packet inspection.
Re: Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
#7This seems tailor-made for deep packet inspection.
Well, it kinda is. AFAIK, that’s exactly what this was made for, and Intel/McAfee was going to create a DPI device using this tech. That never happened, and now Snort uses/will use hyperscan for its pattern matcher
Re: Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
#8Re: Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
#9This appears to be the same algorithm used by ripgrep ( https://github.com/BurntSushi/ripgrep ) for searching when SIMD/AVX is enabled. Specifically, it uses the algorithm Teddy from the library that’s derived from this paper.
Re: Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs
#10This appears to be the same algorithm used by ripgrep ( https://github.com/BurntSushi/ripgrep ) for searching when SIMD/AVX is enabled. Specifically, it uses the algorithm Teddy from the library that’s derived from this paper.