public boolean literal() {
        return pattern == null;
    }
Converts a glob string to a regular expression string.
Returns null if the glob should be handled as a literal (can only match one string).
Throws an exception if the glob is malformed.
shell/src/main/java/org/apache/kafka/shell/glob/GlobComponent.java