From 63fba226c16b0ed2348721e46abe31ede23eb269 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 12 Feb 2026 20:44:17 +0000 Subject: [PATCH 1/2] docs: add regex_replace filter to declarative_component_schema.yaml Co-Authored-By: brian.lai@airbyte.io --- .../declarative/declarative_component_schema.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/airbyte_cdk/sources/declarative/declarative_component_schema.yaml b/airbyte_cdk/sources/declarative/declarative_component_schema.yaml index e68318cd4f..e3b843a5e5 100644 --- a/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +++ b/airbyte_cdk/sources/declarative/declarative_component_schema.yaml @@ -5042,3 +5042,12 @@ interpolation: return_type: str examples: - '{{ "goodbye, cruel world" | regex_search("goodbye,\s(.*)$") }} -> "cruel world"' + - title: regex_replace + description: Remove all occurrences in the string that match the provided regex pattern, replacing them with the specified replacement string. + arguments: + regex: The regular expression pattern to match against. + replacement: The string to replace matched occurrences with. + return_type: str + examples: + - '{{ "hello world" | regex_replace("world", "universe") }} -> "hello universe"' + - '{{ "hello-world_foo" | regex_replace("[_-]", " ") }} -> "hello world foo"' From b687e2902017bf12527ff26efe9b74ed9cd6622c Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 12 Feb 2026 20:48:10 +0000 Subject: [PATCH 2/2] docs: improve regex_replace description wording Co-Authored-By: brian.lai@airbyte.io --- .../sources/declarative/declarative_component_schema.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte_cdk/sources/declarative/declarative_component_schema.yaml b/airbyte_cdk/sources/declarative/declarative_component_schema.yaml index e3b843a5e5..84aaa6c537 100644 --- a/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +++ b/airbyte_cdk/sources/declarative/declarative_component_schema.yaml @@ -5043,7 +5043,7 @@ interpolation: examples: - '{{ "goodbye, cruel world" | regex_search("goodbye,\s(.*)$") }} -> "cruel world"' - title: regex_replace - description: Remove all occurrences in the string that match the provided regex pattern, replacing them with the specified replacement string. + description: Replace all occurrences in the string that match the provided regex pattern with the specified replacement string. arguments: regex: The regular expression pattern to match against. replacement: The string to replace matched occurrences with.