public boolean match(String text) {
        if (text == null) {
            throw new IllegalArgumentException();
        }
        return match(text, 0, text.length());
    }
Determines whether the given {@code text} matches the pattern.

@param text String to match; must not be {@code null}
@return {@code true} if the whole {@code text} matches the pattern;
        {@code false} otherwise
@throws IllegalArgumentException if {@code text == null}
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/database/TextMatcherExt.java