Jan Post asked this question · 26 karma · Aug 24 '11 at 05:59 PM
I'm trying to accomplish a regex test in velocity. However, I can't get to work. What am I doing wrong?
#set( $str = "$issue.reporter")
Now reporter is email@example.com, but still this test always returns false. The regex is tested in an online regex tester! What would the proper way to do regex testing on strings in a Velocity template?