From: Baptiste Assmann Date: Sun, 6 Mar 2016 22:36:48 +0000 (+0100) Subject: DOC: regsub: parser limitation about the inability to use closing square brackets X-Git-Tag: v1.7-dev3~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=66025d856c38848650ad49f914cb9461f49eefe7;p=thirdparty%2Fhaproxy.git 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 --- 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 :