Fix TitleHighlight

This commit is contained in:
xingxing
2019-04-20 10:23:25 +08:00
parent 1c5fef088e
commit a6efd6170a

View File

@@ -58,7 +58,7 @@ public class StringUtils {
//转义正则表达式中的几个特殊符号
public static String escapeRegex(String str) {
int length = str.length();
StringBuilder sbf = new StringBuilder();
StringBuilder sbf = new StringBuilder(str);
for (int i = 0; i < length; i++) {
char c = str.charAt(i);
if (c == '*') {