Forum Discussion
ppphatak_127926
Nimbostratus
Sep 07, 2005findclass function doesnt work
I have a class called "myclass" having two members.
www.test1.com,www.yahoo.com
www.test2.com,www.msn.com
and wish to run this single rule against it.
redirect to getfiel...
Martin_Machacek
Sep 10, 2005Historic F5 Account
Yeah ... I see the problem. There appears to be a bug in the rule evaluator. The findclass function actually matches a class member if it is a substring of the string to match. An example:
class animals {
"bee"
"beaver"
}
findclass("beer", animals) returns "bee"
findclass("be", animals) returns empty string
findclass("bumblebee", animals) returns "bee"
findclass("beaverbee", animals) returns "bee"This bug prevents your solution from working.
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