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 for #55 template_value with spaces in them #56

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

rrozema
Copy link

@rrozema rrozema commented Feb 21, 2023

fix the matching regular expression for value_template to accept surrounding spaces.

fix the matching regular expression for value_template to accept surrounding spaces.
Lazy evaluate the value_template so we only rstrip any trailing spaces from it.
@rrozema
Copy link
Author

rrozema commented Feb 21, 2023

Using .+? for matching the json property name should have the effect of only stripping whitespace after the name. All other characters - including spaces- are now allowed inside the property name.

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.

1 participant