From 192a7ef6c8f33245d1fdc45018d85807db5bf611 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 11 Oct 2015 06:23:04 +0000 Subject: [PATCH] * support date patterns like 2015-October-05 or 2015-Oct-05 --- source/net/filebot/similarity/DateMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/similarity/DateMatcher.java b/source/net/filebot/similarity/DateMatcher.java index 4f11c3d4..509c6720 100644 --- a/source/net/filebot/similarity/DateMatcher.java +++ b/source/net/filebot/similarity/DateMatcher.java @@ -126,7 +126,7 @@ public class DateMatcher { private static class DateFormatPattern implements DatePattern { - protected final Pattern space = Pattern.compile("[\\p{Punct}\\p{Space}]+"); + protected final Pattern space = Pattern.compile("[^\\p{Alnum}]+"); protected final Pattern pattern; protected final String dateFormat;