增加误判的英文字符

This commit is contained in:
Zhicheng Wang 2016-05-13 15:48:35 +08:00
parent f9fe9094e4
commit 1afe12d0ad
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
});
function isPureEnglish(text) {
return /^[\1-\255—]*$/.test(text);
return /^[\1-\255—“”]*$/.test(text);
}
function isClonedNode(node1, node2) {