增加误判的英文字符

This commit is contained in:
Zhicheng Wang 2016-05-13 15:48:35 +08:00
parent f9fe9094e4
commit 1afe12d0ad

View File

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