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 parsing of a key-like value at end of entry #28

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

Conversation

smarr
Copy link

@smarr smarr commented May 16, 2020

This adds a test and fix for a year value failing a regex check.

Perhaps the trim should be done inside the key() function, would avoid other potential issues.

smarr added 2 commits May 16, 2020 23:12
This test fails, because the parsed year value (using `key()`) fails the correctness check, because it has a newline in it.

Signed-off-by: Stefan Marr <[email protected]>
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