Forum Discussion
John_Alam_45640
Historic F5 Account
Try this:
This evaluates to true
when RULE_INIT {
if { "aa.html" matches_regex "aa\\.html" } { log local0. "true" } else { log local0. "false" }
}
This evaluates to false:
when RULE_INIT {
if { "aahtml" matches_regex "aa\\.html" } { log local0. "true" } else { log local0. "false" }
}
This also evaluates to false:
when RULE_INIT {
if { "aa-html" matches_regex "aa\\.html" } { log local0. "true" } else { log local0. "false" }
}
fuhi_30959
Feb 05, 2014Nimbostratus
John
It works!
Thank you for your kindness.