From 66025d856c38848650ad49f914cb9461f49eefe7 Mon Sep 17 00:00:00 2001 From: Baptiste Assmann Date: Sun, 6 Mar 2016 23:36:48 +0100 Subject: [PATCH] DOC: regsub: parser limitation about the inability to use closing square brackets We can't match range in regsub, since the closing bracket is evaluated by the configuration parser. backport: 1.6 and above --- doc/configuration.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 5dbcafe2ff..b671f05d84 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -11976,9 +11976,10 @@ regsub(,[,]) string, it is made up from the concatenation of all desired flags. Thus if both "i" and "g" are desired, using "gi" or "ig" will have the same effect. It is important to note that due to the current limitations of the - configuration parser, some characters such as closing parenthesis or comma - are not possible to use in the arguments. The first use of this converter is - to replace certain characters or sequence of characters with other ones. + configuration parser, some characters such as closing parenthesis, closing + square brackets or comma are not possible to use in the arguments. The first + use of this converter is to replace certain characters or sequence of + characters with other ones. Example : -- 2.47.3