You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Samik Basu <sa...@gmail.com> on 2007/10/26 19:11:06 UTC

SSI regular expression patterns

I am trying to see how regular expressions can be used in SSI if exprs. For
example

However, the following:
<!--#set var="my_var" value="hello there"-->
<!--#if expr="$my_var = /hello/"-->
This is in the if-part<br/>
<!--#else-->
This is in the else-part<br/>
<!--#endif-->

always goes to the else part. Is there any specific format/operator to have
regular expression matching in SSI?