I am trying to set a token to have the following regex value
rex "by (?<SU>[^(]+)". This regex is part of a larger search string.
This line of code
<set token="searchstring">| rex "by (?<SU>[^(]+)"</set> almost works but it is having problems with the < > signs surrounding the SU in the regex. Because of the
<SU> it gets an "unexpected close tag" error.
How can I escape the < > signs so that the token will properly hold my regex with these symbols?
Actually it looks like the
</set> might be the problem, since it has no place in the rex command (outside the double quotes). If you have other code that didn't make it properly into the question, then I could certainly be wrong.