From ff299bf4caece77936ad151de7b2eae68c8bd7b7 Mon Sep 17 00:00:00 2001 From: Phil Rzewski Date: Mon, 3 Jun 2024 19:13:45 +0000 Subject: [PATCH] Add a "curly braces with named references" example in regexp_replace docs (#5130) --- docs/language/functions/regexp_replace.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/language/functions/regexp_replace.md b/docs/language/functions/regexp_replace.md index 03e282c69e..7ae37894a3 100644 --- a/docs/language/functions/regexp_replace.md +++ b/docs/language/functions/regexp_replace.md @@ -58,3 +58,13 @@ echo '"option: value"' | zq -z 'yield regexp_replace(this,/(?P\w+):\s+(?P\w+):\s+(?P\w+)$/,"$key=${value}AppendedText")' - +``` +=> +```mdtest-output +"option=valueAppendedText" +```