Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return matched text #24

Open
bbieniek opened this issue May 7, 2021 · 1 comment
Open

Return matched text #24

bbieniek opened this issue May 7, 2021 · 1 comment

Comments

@bbieniek
Copy link

bbieniek commented May 7, 2021

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)

@DanielJDufour
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants