"find" overly verbose - a bug or a feature?

find SCROLLBAR_V

will not only list all the nodes named SCROLLBAR_V, but also all the myriad of nodes underneath each (since they have SCROLLBAR_V in the path).

This doesn’t seem consistent with the help, and I couldn’t find a way to just list the nodes named SCROLLBAR_V without all the extra childrens being listed.

help?

thanks,
dani

I’ll add this as an RFE.

Thanks

Find implicitly adds * to boths sides of the search. This results in it being easier to use in some cases, but overly verbose in other cases.

but it’s easier to add * to the searchstring than parsing the overly verbose output, so I’d also vote for removing it.
viewtopic.php?f=12&t=804&hilit=+find

I also would love to be using find for finding nodes non-recursively.

I.e. I’m sitting in a component, and I want to find all the COMP:container at that level, not the ones below. For the sake of backward compatibility, since recursive is the default, maybe you could add a non-recursive flag?

tx
d

or a depth flag to control the amount of recursions