Closed jbaker-dstl closed 3 years ago
It's because dateparser
only use lowercase rule pattern and input argument string.
You could use this rule by now: (?<day>[0-9]{2})x(?<month>[0-9]{2})x(?<year>[0-9]{4})
.
And yes, this auto-lowercase
feature looks like a bug, should find a way to make it more smart...
I have the following code, which I would expect to be able to extract dates like 28X01X2020 (ddXmmXyyyy):
However, on running this, I get the following error:
I can't see how this differs significantly from the example in the README. Am I doing something wrong, or is this a bug?