load somes clientlist from pattrstorage to umenu ?

all's icon

Hi,

I know to load all the clientlist from pattrstorage to umenu.
But, in reality, I need to load just a part of the list (clients in 1 abstraction).
For exemple, for a patch that contain the abstraction "module", the pattrstorage have 6 clients :
red
green
blue
module::red
module::green
module::blue

I want just to load 3 clients, from the abstraction, to the umenu :
module::red
module::green
module::blue

How to filter this list ?

Best regard

All

Jan M's icon

Zl.iter and regex are your friends ;)

J

all's icon

Hi,

Thank you.
I have my solution...

All