summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralto <alto@vndb.org>2018-10-29 19:48:13 +0000
committeralto <alto@vndb.org>2018-10-29 19:48:13 +0000
commit128df7bfcdc0e2305acec6de2dabf849afa893bd (patch)
tree5095a0d622ae62db9e39f3334e7a9f4aeb075f07
parent6b1e8e2830ab702f46967bbd230f589e247bfb08 (diff)
Add U+201C to search normalize removal
-rw-r--r--lib/VNDBUtil.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDBUtil.pm b/lib/VNDBUtil.pm
index d59c82e2..5d7850bc 100644
--- a/lib/VNDBUtil.pm
+++ b/lib/VNDBUtil.pm
@@ -55,7 +55,7 @@ sub normalize {
# This effectively removes all accents from the characters (e.g. é -> e)
$_ = compose(NFKD($_) =~ s/(?<=[^ア-ンあ-ん])\pM//rg);
# remove some characters that have no significance when searching
- tr/\r\n\t,_\-.~~〜∼ー῀:[]()%+!?#$"'`♥★☆♪†「」『』【】・‟”‛’‘‚„«‹»›//d;
+ tr/\r\n\t,_\-.~~〜∼ー῀:[]()%+!?#$"'`♥★☆♪†「」『』【】・‟“”‛’‘‚„«‹»›//d;
tr/@/a/;
tr/ı/i/; # Turkish lowercase i
s/&/and/;