GanfengTan commented on code in PR #6034: URL: https://github.com/apache/inlong/pull/6034#discussion_r980812326
########## inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/AgentUtils.java: ########## @@ -281,6 +282,13 @@ public static String formatCurrentTimeWithoutOffset(String formatter) { * @return true if all match */ public static boolean regexMatch(String pathStr, String patternStr) { + // /tmp/dir1/**/test.xml + if (patternStr.contains(HIDDEN_DIR)) { + if (matchHiddenDir(pathStr, patternStr)) { Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org