1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* support date patterns like 2015-October-05 or 2015-Oct-05

This commit is contained in:
Reinhard Pointner 2015-10-11 06:23:04 +00:00
parent 55c07b667a
commit 192a7ef6c8

View File

@ -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;