Consider you have a map myMap.
map myMap
Given the expression \"some.string.*\", I have to retrieve all the values from m
\"some.string.*\"
m
map's keyset has no a special structure so I think you have to check each of the keys anyway. So you can't find a way which will be faster than a single loop...