2 ms·
My summary is from the language implementor point of view, not from the POV of the 1% users which do need regex sets (batch regex searching), no backtracking an
by rurban 9y ago
My summary is from the language implementor point of view, not from the POV of the 1% users which do need regex sets (batch regex searching), no backtracking and fast streaming.
For fast streaming there would be sregex as first contender of Hyperscan, not RE2.
RE2 is fine, but nobody uses it because... What do you think why?
Because of no backtracking support.
If I need a limited fast regex on modern intel-CPU's with SIMD, I'll choose Hyperscan over everything else. But I need to check the cpu capabilities before loading the shared lib.
If I need a fast regex everywhere else, I choose PCRE2 over everything else. RE2 had its time for the last decade, but this time is over now.