intel / intel/hyperscan

Why HS_FLAG_SINGLEMATCH can't combination with HS_FLAG_SOM_LEFTMOST

Open
#103 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.5k
Forks
816
Avg merge
4d 21h
Merged PRs (30d)
2

Description

Hi
I was wonder why HS_FLAG_SINGLEMATCH can't combination with HS_FLAG_SOM_LEFTMOST. Because i must set HS_FLAG_SINGLEMATCH flag and i must get "from" value when match_event_handler called. What should i do?
I find "UE-1850" in hyperscan source code about this and i google it but no info about "UE-1850". And i had try simply delete the check code, and it seem work.
Thanks, best regards.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.