Forum Discussion
jakk127_200290
Nimbostratus
May 01, 2015Trying to understand using square braces vs parenthesis in iRules
Hello,
I have an written the following iRule
when HTTP_REQUEST {
set user_agent [string tolower [HTTP::header User-Agent]]
if { not ($user_agent contains "windows nt 5.1")} {
vi...
jakk127_200290
Nimbostratus
May 01, 2015Hey. I looked at that article but it did not answer my questions. It gave a use case for parenthesis but did not explain how they were used
DEJ
Nimbostratus
May 01, 2015The only other use I can think of is to override order of operations. The other uses I saw listed - negative comparison, regex, and arrays.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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