Commit ceb2aa39 by 吴博

bug : [none] 修复1002979多字重复匹配

parent 1bbf27e1
......@@ -104,8 +104,8 @@ public class ESBookAndAdviserBizImpl implements ESBookAndAdviserBiz {
iterator.remove();
}
if (bookName.matches("^[`~!@#$%^&*()+=|{}:;\\[\\].<>/\\\\?~!@#¥%……()——+|{}【】‘;:”“’。,,、?0123456789]+$") ||
bookName.matches("([哈]){4,}") ||
bookName.matches("([或]){4,}") ||
bookName.matches("(.*)([哈]{4,})(.*)") ||
bookName.matches("(.*)([或]{4,})(.*)") ||
bookName.matches("(.*)(红榜)(.*)")){
iterator.remove();
}
......
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