]> granicus.if.org Git - apache/commitdiff
Move remarks about backreferences to the introductory regex discussion.
authorRich Bowen <rbowen@apache.org>
Thu, 17 Mar 2005 02:10:58 +0000 (02:10 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 17 Mar 2005 02:10:58 +0000 (02:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@157855 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.html.en
docs/manual/mod/mod_rewrite.xml
docs/manual/rewrite/rewrite_intro.html.en
docs/manual/rewrite/rewrite_intro.xml

index cf23dd8087eb5789fc7a8af5079ab8ef031a02a2..827530de5afe1425a72e0adf1c3392ec1549c4ff 100644 (file)
@@ -68,7 +68,6 @@ URLs on the fly</td></tr>
 <h3>Topics</h3>
 <ul id="topics">
 <li><img alt="" src="../images/down.gif" /> <a href="#quoting">Quoting Special Characters</a></li>
-<li><img alt="" src="../images/down.gif" /> <a href="#InternalBackRefs">Regex Back-Reference Availability</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#EnvVar">Environment Variables</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#Solutions">Practical Solutions</a></li>
 </ul></div>
@@ -86,28 +85,6 @@ URLs on the fly</td></tr>
       to treat it as a backreference.</p>
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
-<h2><a name="InternalBackRefs" id="InternalBackRefs">Regex Back-Reference Availability</a></h2>
-
-      <p>One important thing here has to be remembered: Whenever you
-      use parentheses in <em>Pattern</em> or in one of the
-      <em>CondPattern</em>, back-references are internally created
-      which can be used with the strings <code>$N</code> and
-      <code>%N</code> (see below). These are available for creating
-      the strings <em>Substitution</em> and <em>TestString</em>.
-      Figure 2 shows to which locations the back-references are
-      transferred for expansion.</p>
-
-<p class="figure">
-      <img src="../images/mod_rewrite_fig2.gif" width="381" height="179" alt="[Needs graphics capability to display]" /><br />
-      <dfn>Figure 2:</dfn> The back-reference flow through a rule.
-</p>
-      <p>We know this was a crash course on mod_rewrite's internal
-      processing. But you will benefit from this knowledge when
-      reading the following documentation of the available
-      directives.</p>
-
-</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
-<div class="section">
 <h2><a name="EnvVar" id="EnvVar">Environment Variables</a></h2>
 
       <p>This module keeps track of two additional (non-standard)
index 82cacece6e1f6318e295b612481fb31a08a46666..e6137a1be40a8f9c931957b0fdfa02076d5a427e 100644 (file)
@@ -68,29 +68,6 @@ URLs on the fly</description>
       to treat it as a backreference.</p>
 </section>
 
-<section id="InternalBackRefs"><title>Regex Back-Reference Availability</title>
-
-      <p>One important thing here has to be remembered: Whenever you
-      use parentheses in <em>Pattern</em> or in one of the
-      <em>CondPattern</em>, back-references are internally created
-      which can be used with the strings <code>$N</code> and
-      <code>%N</code> (see below). These are available for creating
-      the strings <em>Substitution</em> and <em>TestString</em>.
-      Figure 2 shows to which locations the back-references are
-      transferred for expansion.</p>
-
-<p class="figure">
-      <img src="../images/mod_rewrite_fig2.gif" width="381"
-           height="179" alt="[Needs graphics capability to display]" /><br />
-      <dfn>Figure 2:</dfn> The back-reference flow through a rule.
-</p>
-      <p>We know this was a crash course on mod_rewrite's internal
-      processing. But you will benefit from this knowledge when
-      reading the following documentation of the available
-      directives.</p>
-
-</section>
-
 <section id="EnvVar"><title>Environment Variables</title>
 
       <p>This module keeps track of two additional (non-standard)
index d3ee5adb3792ba0e969da9d5cd864654adafdc55..661bd34b917fbefbb8997ea60afd7efe525a5c30 100644 (file)
@@ -57,6 +57,26 @@ follows is understood, rather than just copied blindly.
 <div class="section">
 <h2><a name="regex" id="regex">Regular Expressions</a></h2>
 <p>Basic regex building blocks</p>
+
+<h3><a name="InternalBackRefs" id="InternalBackRefs">Regex Back-Reference Availability</a></h3>
+
+      <p>One important thing here has to be remembered: Whenever you
+      use parentheses in <em>Pattern</em> or in one of the
+      <em>CondPattern</em>, back-references are internally created
+      which can be used with the strings <code>$N</code> and
+      <code>%N</code> (see below). These are available for creating
+      the strings <em>Substitution</em> and <em>TestString</em>.
+      Figure 2 shows to which locations the back-references are
+      transferred for expansion.</p>
+
+<p class="figure">
+      <img src="../images/mod_rewrite_fig2.gif" width="381" height="179" alt="[Needs graphics capability to display]" /><br />
+      <dfn>Figure 2:</dfn> The back-reference flow through a rule.
+</p>
+
+
+
+
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="rewriterule" id="rewriterule">RewriteRule basics</a></h2>
index 61e890a69a03f4b22e89a22e4155dbbac2d4d872..4f5f4cb3208dee8dfb9a47bd27a9c834312944da 100644 (file)
@@ -57,6 +57,27 @@ follows is understood, rather than just copied blindly.
 
 <section id="regex"><title>Regular Expressions</title>
 <p>Basic regex building blocks</p>
+
+<section id="InternalBackRefs"><title>Regex Back-Reference Availability</title>
+
+      <p>One important thing here has to be remembered: Whenever you
+      use parentheses in <em>Pattern</em> or in one of the
+      <em>CondPattern</em>, back-references are internally created
+      which can be used with the strings <code>$N</code> and
+      <code>%N</code> (see below). These are available for creating
+      the strings <em>Substitution</em> and <em>TestString</em>.
+      Figure 2 shows to which locations the back-references are
+      transferred for expansion.</p>
+
+<p class="figure">
+      <img src="../images/mod_rewrite_fig2.gif" width="381"
+           height="179" alt="[Needs graphics capability to display]" /><br />
+      <dfn>Figure 2:</dfn> The back-reference flow through a rule.
+</p>
+
+</section>
+
+
 </section>
 
 <section id="rewriterule"><title>RewriteRule basics</title>