You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/04/27 20:54:18 UTC

[Bug 48956] SSI regular expressions not working

https://issues.apache.org/bugzilla/show_bug.cgi?id=48956

Hipnosis <mh...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Hipnosis <mh...@hotmail.com> ---
Hi, I found a bug working with Tomcat, SSI and regular expression that is still
unresolved and my work is essential for proper operation:

For example:
<!--#set var="aux" value="aa12" -->
<!--#if expr="$aux=/^aa([a-zA-Z0-9\-_]*)/" -->
        <!--#set var="aux2" value="$1" -->
<!--#endif -->

Resulting value:<!--#echo var="aux2" -->


In a html file works correctly, but when working on Tomcat, a complex regular
expression fails, and the page returns nothing from it.

Regards and await your response.

-- 
You are receiving this mail because:
You are the assignee for the bug.