hyperscan
hyperscan copied to clipboard
Sub-string match in hyperscan
Hello, [This is a query and not a bug report]
I have a text like this: 1/1 53 f(2)/p(c)/gmail:[email protected]
And, I am trying to find a match for this pattern: "[email protected]" But hyperscan doesn't return a match for this pattern!
However, if I modify my pattern to be searched as ".*[email protected]" then hyperscan does return a match!
Is this behavior expected? Is it possible to set any flag in hyperscan to match the exact sub-string("[email protected]" in this case) without any regex in the pattern?
Regards.