From cd29c2d989cd416a4e4c763777722abbb70361c4 Mon Sep 17 00:00:00 2001 From: chen-xin-zhi <3588068430@qq.com> Date: Tue, 18 Mar 2025 10:16:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0https?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/cultural/heritage/utils/RegexUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cultural/heritage/utils/RegexUtils.java b/src/main/java/com/cultural/heritage/utils/RegexUtils.java index fc13a9c..567b426 100644 --- a/src/main/java/com/cultural/heritage/utils/RegexUtils.java +++ b/src/main/java/com/cultural/heritage/utils/RegexUtils.java @@ -61,7 +61,7 @@ public class RegexUtils { * @param input * @return */ - public static String encodeUrl(String input) { return input.replaceAll("[^\\\\u4e00-\\\\u9fa5.]", "_"); } + public static String encodeUrl(String input) { return input.replaceAll("[^\\u4e00-\\u9fa5.]", "_"); }