Skip to content

Fix parsing of a key-like value at end of entry#28

Open
smarr wants to merge 2 commits intoORCID:masterfrom
smarr:key-val-at-end
Open

Fix parsing of a key-like value at end of entry#28
smarr wants to merge 2 commits intoORCID:masterfrom
smarr:key-val-at-end

Conversation

@smarr
Copy link
Copy Markdown

@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 <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
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