It is important to note that due to the current limitations of the
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.
This is a pretty big limitation, since it means you can’t use capture groups, character classes, or commas (not to mention matching those specific characters). The documentation doesn’t mention any workarounds. Are there any?
Although replace-uri (or reqrep) would work in this case. It isn’t a solution in general. For example, what if I want to use regsub in an actual log format, or in the expression stored in a variable with http-request set-var.