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

feat: Add 'contains_all' VRL function #468

Merged
merged 8 commits into from
Oct 2, 2023
Merged

Conversation

pront
Copy link
Collaborator

@pront pront commented Sep 20, 2023

closes: #417

Summary

  • Adds new function contains_all function that accepts multiple substrings and checks against each of them.
  • Removes some code duplication in string manipulation functions.

@pront pront marked this pull request as ready for review September 20, 2023 17:54
@pront pront requested a review from fuchsnj September 20, 2023 17:54
src/stdlib/string_utils.rs Outdated Show resolved Hide resolved
src/stdlib/contains_all.rs Outdated Show resolved Hide resolved
src/stdlib/contains_all.rs Outdated Show resolved Hide resolved
@pront pront added this pull request to the merge queue Oct 2, 2023
Merged via the queue into main with commit a4f9c51 Oct 2, 2023
9 checks passed
@pront pront deleted the pront/contains-all-function branch October 2, 2023 13:54
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.

contains all the given substrings in string (contains_all)
2 participants