Skip to content

Commit

Permalink
扩展文件路径正则表达式以支持更多字符
Browse files Browse the repository at this point in the history
  • Loading branch information
“v_kkhuang” committed Jan 24, 2025
1 parent 7a66e10 commit ce0e5ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class WorkspaceUtil {
+ "\\.\\d{3}\\s*ERROR(.*)";
public static String allReg = "(.*?)";

public static String filePathReg = "^[a-zA-Z0-9-\\d_.:/]+$";
public static String filePathReg = "^[a-zA-Z0-9-\\d_.:,/=%]+$";
public static String hiveFilePathReg = "\\/hive\\/warehouse\\/.*db\\/.*\\/";

public static Pattern filePathRegexPattern = Pattern.compile(filePathReg);
Expand Down

0 comments on commit ce0e5ac

Please sign in to comment.