Forum Discussion
Bret_McGinnis_1
Nimbostratus
Apr 28, 2006matchclass
Hi,
Is there a way to tell which entry in the Data Group was matched by the matchclass function.
Regards,
Bret_McGinnis_1
Nimbostratus
Apr 28, 2006Hi,
If I set a variable with the matchclass the variable contains the index into the Data Group. Is there a way to get the entry in the Data Group? Or did I not understand your response.
Example:
class color {
blue
red
white }
set test [matchclass [HTTP::uri] contains $::color]
http://xxx.com/red
The result I get is:
test = 2
What I want is:
test = red
Regards,
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
