[Bug 70018] New: RewriteRule Directive: Ignores back-references to the last matched RewriteCond pattern (%N)
| Newsgroups | gmane.comp.apache.documentation |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bz.apache.org/bugzilla/show_bug.cgi?id=70018
Bug ID: 70018
Summary: RewriteRule Directive: Ignores back-references to the
last matched RewriteCond pattern (%N)
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: All
URL: https://httpd.apache.org/docs/trunk/en/mod/mod_rewrite
.html#rewriterule
OS: All
Status: NEW
Severity: trivial
Priority: P4
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The documentation of the RewriteRule directive lists 2 types of
back-references, but then states:
> Back-references are identifiers of the form $N (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.
That sentence only considers the first type. Back-references to the last
matched RewriteCond pattern have the form %N.
I suggest moving the sentence in the first point, and adding a similar sentence
to the second.
🅭🄍: https://www.philippecloutier.com/Common+infrastructure+licensing#its
--
You are receiving this mail because:
You are the assignee for the bug.