mirror of
https://github.com/leanote/leanote-android.git
synced 2025-08-29 09:31:00 +00:00
Fix TitleHighlight
This commit is contained in:
@@ -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 == '*') {
|
||||
|
Reference in New Issue
Block a user