DanielJDufour/date-extractor

Return matched text

bbieniek opened this issue · 1 comments

Hi,

I think it would be great if the extract_dates function could return the original matched text.
ie:
extract_dates('This happened 2020-01-01')
would return matches and the original date text (2020-01-01)

Hi, @bbieniek . This is a great idea. We will try to think about how to provide this functionality.