* normalize ' to "", and not " ", e.g. Grey's Anatomy => Greys Anatomy
This commit is contained in:
parent
a55070088a
commit
bc2dff2cbc
|
@ -202,7 +202,8 @@ public class SeriesNameMatcher {
|
|||
name = name.replaceAll("\\([^\\(]*\\)", "");
|
||||
name = name.replaceAll("\\[[^\\[]*\\]", "");
|
||||
|
||||
// remove special characters
|
||||
// remove/normalize special characters
|
||||
name = name.replaceAll("['`´]+", "");
|
||||
name = name.replaceAll("[\\p{Punct}\\p{Space}]+", " ");
|
||||
|
||||
return name.trim();
|
||||
|
|
Loading…
Reference in New Issue