Commit 6d95cb25 authored by fallenstardust's avatar fallenstardust

停用引号关键字搜索

parent f2171fdd
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
变更: 变更:
1.竖屏查询时支持大于小于符号来搜索攻击力与守备力范围(如:>=3000、<2500); 1.竖屏查询时支持大于小于符号来搜索攻击力与守备力范围(如:>=3000、<2500);
2.修复查询守备力为1时错误搜索到↙箭头连接怪兽的问题; 2.修复查询守备力为1时错误搜索到↙箭头连接怪兽的问题;
3.支持加载扩展卡包内的禁卡表文件;
4.修复关键字查询使用引号引起的错误;
</pre> </pre>
<h3 style="color:#ff0000">注意</h3> <h3 style="color:#ff0000">注意</h3>
<pre> <pre>
......
...@@ -41,6 +41,7 @@ public class CardKeyWord { ...@@ -41,6 +41,7 @@ public class CardKeyWord {
w = w.substring(1); w = w.substring(1);
} }
boolean onlyText = false; boolean onlyText = false;
/*
if (w.startsWith("\"") || w.startsWith("“") || w.startsWith("”")) { if (w.startsWith("\"") || w.startsWith("“") || w.startsWith("”")) {
//只搜索文字 //只搜索文字
onlyText = true; onlyText = true;
...@@ -49,7 +50,7 @@ public class CardKeyWord { ...@@ -49,7 +50,7 @@ public class CardKeyWord {
} else { } else {
w = w.substring(1); w = w.substring(1);
} }
} }*/
Log.d(TAG, "filter:word=" + w + ", exclude=" + exclude + ", onlyText=" + onlyText); Log.d(TAG, "filter:word=" + w + ", exclude=" + exclude + ", onlyText=" + onlyText);
filterList.add(new NameFilter(w, exclude, onlyText)); filterList.add(new NameFilter(w, exclude, onlyText));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment