diff options
author | alto <alto@vndb.org> | 2018-10-29 19:48:13 +0000 |
---|---|---|
committer | alto <alto@vndb.org> | 2018-10-29 19:48:13 +0000 |
commit | 128df7bfcdc0e2305acec6de2dabf849afa893bd (patch) | |
tree | 5095a0d622ae62db9e39f3334e7a9f4aeb075f07 /lib/VNDBUtil.pm | |
parent | 6b1e8e2830ab702f46967bbd230f589e247bfb08 (diff) |
Add U+201C to search normalize removal
Diffstat (limited to 'lib/VNDBUtil.pm')
-rw-r--r-- | lib/VNDBUtil.pm | 2 |
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/; |