Hello,
I'd like to search array indices against
the below patterns. Can this be done more
efficiently?
So label could be a value as:
"name"
I'm interested in all array elements
that are name only, name.*, *.name or
*.name.*. Note that "aname" or "namePlus"
should not match.
Currently, this works fine, but I'd like to
make it more efficient.
array set recs [array get out $label]
array set recs [array get out *.$label]
array set recs [array get out $label.*]
array set recs [array get out *.$label.*]
THANKS!