But a list can't be used with a single match operation right?
I'd argue that a list is actually more flexible than a data group:
http://www.tcl.tk/man/tcl8.4/TclCmd/lsearch.htm
So say you had a few simple single-value data groups. Example:
dgl_test_1
"/test1" := ""
"/test2" := ""
"/test3" := ""
"/test4" := ""
dgl_test_2
"/foo1" := ""
"/foo2" := ""
"/foo3" := ""
"/foo4" := ""
dgl_test_3
"/bar1" := ""
"/bar2" := ""
"/bar3" := ""
"/bar4" := ""
And an iRule that did something like this:
when CLIENT_ACCEPTED {
set uri_list "[class get dgl_test_1] [class get dgl_test_2] [class get dgl_test_3]"
}
** notice the space between the [class get ] commands.
This would give you a single list of URIs that you could sort or search.