issue #37: registry: added AND/OR control to search()