-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
One of my co-author's lastname could not be correctly parsed due to whitespaces.
I'm referring to this Bibtex entry.
The BibTeX was condensed to the essential components as demonstrated in the code example provided below.
require 'bibtex'
b = BibTeX.parse <<-END
@inproceedings{10.1145/3319535.3339812,
author = {Mladenov, Vladislav and Mainka, Christian and Meyer zu Selhausen, Karsten and Grothe, Martin and Schwenk, J\"{o}rg},
}
END
if b['10.1145/3319535.3339812'].author[2].last == "Meyer zu Selhausen"
puts "Correct."
else
puts "Incorrect. Should be: 'Meyer zu Selhausen'. Current: '#{b['10.1145/3319535.3339812'].author[2].last}'"
end
Output:
Incorrect. Should be: 'Meyer zu Selhausen'. Current: 'Selhausen'
Metadata
Metadata
Assignees
Labels
No labels