Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E175D185D0 for ; Fri, 26 Feb 2016 10:17:22 +0000 (UTC) Received: (qmail 86286 invoked by uid 500); 26 Feb 2016 10:17:16 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 86233 invoked by uid 500); 26 Feb 2016 10:17:16 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 86223 invoked by uid 99); 26 Feb 2016 10:17:16 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 10:17:16 +0000 Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPS id 431071A0624 for ; Fri, 26 Feb 2016 10:17:16 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id 620FF60D37; Fri, 26 Feb 2016 10:17:15 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 57448] SSI cannot capture backreferences from regex match in Date: Fri, 26 Feb 2016 10:17:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_include X-Bugzilla-Version: 2.4.10 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hk@b61.de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://bz.apache.org/bugzilla/show_bug.cgi?id=57448 --- Comment #5 from Helge --- (In reply to Ingmar Eveslage from comment #4) > (In reply to Helge from comment #3) > That's correct, in the same expression you can use $1 and backreference > matches. BUT $0 references always the whole string and not the last matched > string. in Helges example > foo == "198.19.81.98" > and not as expected "198." I have tested my Example many times on Apache 2.4.12 an it works as expected: foo returns "198.". $1 from expression /^(\d\.)/ is $0 for 'set var=foo'. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org