Commit 4328e89a by 吴博

Merge branch 'fixbug/fix1002979' into 'master'

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

See merge request rays/pcloud-book!764
parents 9932607e ceb2aa39
......@@ -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