serrislew commented on a change in pull request #8235:
URL: https://github.com/apache/trafficserver/pull/8235#discussion_r688694029
##########
File path: doc/admin-guide/plugins/header_rewrite.en.rst
##########
@@ -858,6 +858,22 @@ change just the hostname via::
cond %{HEADER:X-Mobile} = "foo"
set-destination HOST foo.mobile.bar.com [L]
+Regex Substitutions
+-------------------
+
+As mentioned above, regex operands are available to match a condition's
provided value against
+a regular expression. The substitution elements from these conditional
replacement patterns
+can be used in operators within the same header rewriting rule.
+
+For example, ``$ number`` can be used to capture the number group in the
replacement
Review comment:
Thanks for the tip, will add to the doc
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]