Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filterx: add !~ operator counterpart for =~ #238

Merged
merged 6 commits into from
Aug 7, 2024

Conversation

bshifter
Copy link
Member

@bshifter bshifter commented Aug 7, 2024

Filterx syntatic sugar added for not matching an regular expression, by defining the !~ operator as counterpart for =~.

example:

original expression:
not ($MSG =~ /something/);

new expression:
$MSG !~ /something/

@bshifter bshifter force-pushed the filterx-regex-nomatch branch from a9a7150 to 9d12ada Compare August 7, 2024 11:40
@bshifter bshifter requested review from MrAnno and alltilla August 7, 2024 11:40
@MrAnno MrAnno merged commit 5b88f1c into axoflow:main Aug 7, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants