This is an automated email from the ASF dual-hosted git repository. mlibbey pushed a commit to branch docheaderrewriteprcreflag in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 78f9299f16345db963f1426f2cb43bcf6991c20f Author: mlibbey <[email protected]> AuthorDate: Thu Mar 7 16:45:02 2024 -0800 Docs: header rewrite regex has case insensitive pcre flag The header rewrite plugin's regex syntax can take pcre flags. The case insensitive flag appears to be the only relevant one to headers. --- doc/admin-guide/plugins/header_rewrite.en.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/admin-guide/plugins/header_rewrite.en.rst b/doc/admin-guide/plugins/header_rewrite.en.rst index c45f14c536..763d428900 100644 --- a/doc/admin-guide/plugins/header_rewrite.en.rst +++ b/doc/admin-guide/plugins/header_rewrite.en.rst @@ -576,7 +576,8 @@ types supported: Operand Description =========== =================================================================== /regex/ Matches the condition's provided value against the regular - expression. + expression. Start the regex with (?i) to flag it for a case + insensitive match, e.g. /(?i)regex/ will match ReGeX. <string Matches if the value from the condition is lexically less than *string*. >string Matches if the value from the condition is lexically greater than
