This is an automated email from the ASF dual-hosted git repository.
mosermw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 4076eaafb0 NIFI-15228 Corrected expected result of EL repeat function
when either the exact number or the max number to repeat is the string's length.
4076eaafb0 is described below
commit 4076eaafb0b1a19ebcf7dde030d0f4c1d9bda548
Author: dan-s1 <[email protected]>
AuthorDate: Fri Nov 21 15:44:18 2025 +0000
NIFI-15228 Corrected expected result of EL repeat function when either the
exact number or the max number to repeat is the string's length.
Closes #10552
Signed-off-by: Mike Moser <[email protected]>
---
nifi-docs/src/main/asciidoc/expression-language-guide.adoc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
index 2f82914ed4..595b7be996 100644
--- a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
@@ -1205,7 +1205,8 @@ then the following Expressions will result in the
following values:
| `${str:repeat(1)}` | `abc`
| `${str:repeat(2)}` | `abcabc`
| `${str:repeat(1,2)}` | `abc` or `abcabc` (at random)
-| `${str:repeat( ${str:length()} )}` | `abc` or `abcabc` or `abcabcabc` (at
random)
+| `${str:repeat(${str:length()})}` | `abcabcabc`
+| `${str:repeat(1, ${str:length()})}` | `abc` or `abcabc` or `abcabcabc` (at
random)
|================================================================