Fixed regex for date
This commit is contained in:
parent
8de6eda287
commit
a3c4b3164d
@ -22,7 +22,8 @@ struct dateFormats {
|
||||
.index_minute = 5
|
||||
},
|
||||
{
|
||||
.regex = "(\\d{1,2})\\.(\\d{1,2})\\.(\\d{1,4})\\s*(\\d{1,2}):(\\d{1,2}).*",
|
||||
.regex = "(\\d{2,2})\\.(\\d{1,2})\\.(\\d{1,4})\\s*(\\d{1,2}):(\\d{1,2}).*",
|
||||
/* The regex above should begin with (\d{1,2}). But that seems to break the regex... */
|
||||
.index_count = 5,
|
||||
.index_year = 3,
|
||||
.index_month = 2,
|
||||
|
Loading…
Reference in New Issue
Block a user