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 regex_replace filter to support replacing text using regex #380

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

lquerel
Copy link
Contributor

@lquerel lquerel commented Sep 19, 2024

This PR introduces the regex_replace filter, which replaces all occurrences of a regex pattern (specified as the first parameter) in the input string with a replacement string (specified as the second parameter). This filter leverages the regex crate under the hood. For more details, see the regex documentation.

Closes #203

@lquerel lquerel requested a review from a team as a code owner September 19, 2024 05:13
@lquerel lquerel self-assigned this Sep 19, 2024
@lquerel lquerel added the enhancement New feature or request label Sep 19, 2024
@lquerel lquerel merged commit bc8e7ec into open-telemetry:main Sep 19, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Jinja code generation helpers suggestions
3 participants