From 6369eefee7f958e986648d705975a84235cb11d5 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 2 Apr 2016 17:02:06 +0000 Subject: [PATCH] Refactor --- source/net/filebot/similarity/Normalization.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/net/filebot/similarity/Normalization.java b/source/net/filebot/similarity/Normalization.java index 891daf6a..7df2cfd7 100644 --- a/source/net/filebot/similarity/Normalization.java +++ b/source/net/filebot/similarity/Normalization.java @@ -9,7 +9,7 @@ import java.util.regex.Pattern; public class Normalization { private static final Pattern apostrophe = compile("['`´‘’ʻ]+"); - private static final Pattern punctuation = compile("[\\p{Punct}\\p{Space}]+", Pattern.UNICODE_CHARACTER_CLASS); + private static final Pattern punctuation = compile("[\\p{Punct}\\p{Space}]+", UNICODE_CHARACTER_CLASS); private static final Pattern spaceLikePunctuation = compile("[:?._]"); private static final Pattern trailingParentheses = compile("(?