The documentation for Dynamic Server Pages (10-5_Dsp_And_Output_Template_Developers_Guide.pdf) claims that the %ifvar% tag supports regular expression matching:
“matches(‘regular_exp’) Specifies that the condition is true if the value of Variable
matches the regular expression regular_exp . For example:
%ifvar carrier matches(‘UPS*’)%.”
I’ve been trying to match odd numbers using character classes to workaround Outlooks lack of CSS support:
%ifvar $index matches('^[0-9]*[13579]$')%
and I’m beginning to suspect that the documentation is completely wrong and DSP does not support regular expressions at all, instead only simple globs.
Does anyone know for sure?
#Integration-Server-and-ESB#webMethods