mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-24 04:11:02 +01:00
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
This commit is contained in:
parent
79fb45d10b
commit
66025d856c
@ -11976,9 +11976,10 @@ regsub(<regex>,<subst>[,<flags>])
|
||||
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 :
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user