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

Add the new pmatch operator. #125

Merged
merged 1 commit into from
Oct 3, 2016
Merged

Add the new pmatch operator. #125

merged 1 commit into from
Oct 3, 2016

Conversation

mstemm
Copy link
Contributor

@mstemm mstemm commented Oct 3, 2016

Make changes to the lua-specific rule parser/compiler to handle the
pmatch operator.

Make changes to the lua-specific rule parser/compiler to handle the
pmatch operator.
@mstemm mstemm merged commit 5008003 into dev Oct 3, 2016
@mstemm mstemm deleted the add-pmatch branch October 3, 2016 18:20
@nebi-frame
Copy link

what does it do can you give an example?

@mstemm
Copy link
Contributor Author

mstemm commented Jun 14, 2019

Here's an example: https://github.com/falcosecurity/falco/blob/dev/rules/falco_rules.yaml#L1169. It matches a complete path name against a set of path prefixes. It returns true if the complete path has one of the prefixes as a prefix.

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