public static boolean antPathMatch(String pathStr, String patternStr) {
        boolean result = MATCHER.match(patternStr, pathStr);
        LOGGER.info("path: {}, pattern: {}, result: {}", pathStr, patternStr, result);
        return result;
    }
Check whether path name are matched ant path regex

@param pathStr path string
@param patternStr ant regex pattern
@return true if matched
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/PathUtils.java