[SR-Users] Using $var inside textops function

Olli Attila olli.attila at oatel.net
Fri Apr 7 14:25:48 CEST 2017


Hello,

Is it possible to use variables inside a textops search_hf function? I 
am trying to compare variable content against From header content and 
return true or false.

I tried the following statement but with no luck:

search_hf("From", "$var(MYVARIABLE)", "f") { ... }

If this cannot be done, any suggestions on how to achieve this kind of 
comparsion? The variable content is pulled out from a htable entry.

Cheers,

--Olli




More information about the sr-users mailing list