httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57448] SSI <!--#set --> cannot capture backreferences from regex match in <!--#if -->
Date Wed, 30 Sep 2015 13:39:18 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57448

--- Comment #3 from HelgeKrausen <helgekrausen@outlook.com> ---
Example: Show 198. from 198.19.81.98
<!--#if expr="v('REMOTE_ADDR') =~ /(\d+\.)\d+/ && $1 =~ /(\d\.)/" -->
<!--#set var="foo" value="$0" -->
Found <!--#echo var="foo" -->
<!--#endif -->
You *must* use Backreferences in same Expression!

-- 
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


Mime
View raw message