From: Rich Bowen Date: Fri, 1 May 2026 15:26:44 +0000 (+0000) Subject: Bug 70016: Clarify that \$0 refers to the entire match, not a captured group X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17ba8c7e8abba2ff5e820bde5008368432d6064f;p=thirdparty%2Fapache%2Fhttpd.git Bug 70016: Clarify that \$0 refers to the entire match, not a captured group git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933662 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 421f8484cf..066c2342fc 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1296,9 +1296,10 @@ cannot use $N in the substitution string!

Back-references are identifiers of the form $N - (N=0..9), which will be replaced - by the contents of the Nth group of the - matched Pattern. The server-variables are the same + (N=0..9). $0 refers to the + entire string matched by the Pattern, while + $1..$9 refer to the corresponding + captured groups from the matched Pattern. The server-variables are the same as for the TestString of a RewriteCond directive. The mapping-functions come from the