Skip to content

Commit 2c7af15

Browse files
docs: add regex_replace filter to declarative_component_schema.yaml (#906)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent e9144e2 commit 2c7af15

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

airbyte_cdk/sources/declarative/declarative_component_schema.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5042,3 +5042,12 @@ interpolation:
50425042
return_type: str
50435043
examples:
50445044
- '{{ "goodbye, cruel world" | regex_search("goodbye,\s(.*)$") }} -> "cruel world"'
5045+
- title: regex_replace
5046+
description: Replace all occurrences in the string that match the provided regex pattern with the specified replacement string.
5047+
arguments:
5048+
regex: The regular expression pattern to match against.
5049+
replacement: The string to replace matched occurrences with.
5050+
return_type: str
5051+
examples:
5052+
- '{{ "hello world" | regex_replace("world", "universe") }} -> "hello universe"'
5053+
- '{{ "hello-world_foo" | regex_replace("[_-]", " ") }} -> "hello world foo"'

0 commit comments

Comments
 (0)