* 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
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public class DateMatcher {
private static class DateFormatPattern implements DatePattern { 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 Pattern pattern;
protected final String dateFormat; protected final String dateFormat;