Skip to content

Sub-string match in hyperscan #436

@saswat108

Description

@saswat108

Hello,
[This is a query and not a bug report]

I have a text like this:
1/1 53 f(2)/p(c)/gmail:login=[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions