Forum Discussion
Naman_65674
Oct 20, 2011Nimbostratus
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...
nitass
Nov 02, 2011Employee
just removing $::
e.g.
if {[matchclass [HTTP::header "Location"] contains error_msgs] } {
....do something...
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects