Forum Discussion

Naman_65674's avatar
Naman_65674
Icon for Nimbostratus rankNimbostratus
Oct 20, 2011

Best Practice: Regex vs number of if/else

Hi,     I previously had a rule that had:       if {   $login == 1 &&   ([string first "OP=help" [HTTP::header "location"]] == -1) &&   ([string first "OP=token_lo...