I've read quite a bit on the forums about the way smart groups should work. I haven't read any suggestion about wildcards allowed in the search/filter field of the editor.
I would like to be able to end a group name with " ONLY" (presumably with the group configured to be active in a particular application), then include in a search (or create a smart group with) -group:*" ONLY". This would exclude macros in these groups.
My particular purpose for this is currently to see a list of macros "generally exposed" to the system, rather than exposed within one app. I could then plan my hotkeys better using this smart group list.
The list of Search Strings includes an entry: "global".
This term will "Match any macro within any macro group that is globally active". Presumably, that would naturally exclude macros that are limited to be active within a particular application.
Hotkey is one of the search terms, so you can search for specific hotkeys if desired.
This Keyboard Maestro Action has one glaring deficit however – if the name is too long the keyboard shortcut is NOT shown.
This could be “easily” remedied if @peternlewis would add the keyboard shortcut to the macro-info panel on the right side of the pop-up window, so let's petition Peter for this feature-improvement request.
** It is possible to option-double-click on a macro and go-to it in the Keyboard Maestro Editor, but that's very awkward when all you want to know is the keyboard shortcut.
So, using en: in the search box has no effect, other than to show all of your macros that are available with or without it. IOW, using gl: en: or just gl: produces the same list.
The Trigger Macro by Name action is good for selecting a macro to trigger/execute, but not so much for selecting macros to edit/review, because many macros will be excluded when the KM Editor is active/frontmost.
There are several techniques to help with selecting Macros in the KM Editor:
Groups and Smart Groups -- the point you are making
I use this a lot
I have Smart Groups for stuff like "Dev", "RegEx", "TextExpansion", etc.