Forum Discussion
MAbbas
Cirrus
Sep 01, 2018Irule Match
hello -
i have been trying to understand the condition match that happens in irules
in the example below -- if the URI -is /foobar
would it not match the first case and exit - Thanks
switch -glob [...
MAbbas
Cirrus
Sep 01, 2018switch -glob [HTTP::uri] { "/foo*" { this will match on any string that starts with "/foo" }
"bar" { this will match on any string that ends with "bar" }
"/foobar[a-zA-Z]" { This will match with any string that starts with "/foobar" followed by any case character from a-z. }
"/foo?bar" { this will match any string that starts with "/foo", followed by any character, and followed by and ending with "bar". } }
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