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

Fix string format quotes #814

Closed

Conversation

navster888
Copy link
Contributor

@navster888 navster888 commented Apr 13, 2024

The string format regexes setup in #567 were not properly wrapped in quotes, resulting in invalid jsons being produced.

Updating the DATE_TIME, DATE, TIME, and UUID regexes to properly include " wrapping the values.

TODO: Adding additional tests that verify the produced regex is able to parse nested values, which is how this bug was originally noticed. Will revisit later this afternoon, struggling to get my python environment configured correctly in order to run tests locally.

@navster888 navster888 marked this pull request as ready for review April 18, 2024 23:23
@navster888
Copy link
Contributor Author

navster888 commented Apr 18, 2024

@rlouf apologies for the delay was out of town this week. Still have not been able to get a working dev setup locally, however given this change seems simple I'm wondering if we can rely on the checks in CI. Either way I believe this PR is ready for review. Will give local setup another go once I'm back home tomorrow and see if I can figure things out in the meantime, cheers.

@rlouf
Copy link
Member

rlouf commented Apr 20, 2024

I updated the code in #831 and merged. Thank you for contributing!

@rlouf rlouf closed this Apr 20, 2024
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

Successfully merging this pull request may close these issues.

2 participants