intel / intel/hyperscan

Negate groups

Open
#266 0 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

This is more like general regex question.
I want to match string which doesn't end with "abc" or "def".
In SO, most answers uses negative lookahead "xxx(?!abc|def)" but
hyperscan doesn't support zero-width assertion so
how can I simulate negative lookahead (I don't need capture groups but just matching)

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.