private boolean matches(@Nullable CharSequence charSequence) {
            if (charSequence == null) {
                return false;
            }
            Matcher matcher = pattern.matcher(charSequence);
            return matcher.find();
        }
Searcher. Filters elements by name and description
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/itemlist/ObjectListControl.java