From 3809150a3895c5e15793a6801ca1bd0eb1ee61b1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 14 Sep 2015 10:37:59 -0400 Subject: Help: Document string(REGEX) input concatentation (#15742) These commands concatenate all their input before matching. Document this behavior. --- Help/command/string.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Help/command/string.rst b/Help/command/string.rst index 4d6c0d0..0361c74 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -46,6 +46,7 @@ REGEX MATCH [...]) Match the regular expression once and store the match in the output variable. +All ```` arguments are concatenated before matching. REGEX MATCHALL """""""""""""" @@ -57,6 +58,7 @@ REGEX MATCHALL Match the regular expression as many times as possible and store the matches in the output variable as a list. +All ```` arguments are concatenated before matching. REGEX REPLACE """"""""""""" @@ -69,6 +71,7 @@ REGEX REPLACE Match the regular expression as many times as possible and substitute the replacement expression for the match in the output. +All ```` arguments are concatenated before matching. The replace expression may refer to paren-delimited subexpressions of the match using ``\1``, ``\2``, ..., ``\9``. Note that two backslashes (``\\1``) -- cgit v0.12