matches_glob¶
Description¶
This command allows the use of glob style matching, as found in
string match ,
switch -glob ,
etc.
Examples¶
when HTTP_REQUEST {
if { [HTTP::uri] matches_glob "/foo/*"} {
pool foo_pool
} else {
pool second_pool
}
}