-
Notifications
You must be signed in to change notification settings - Fork 2
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
Handle semicolon after colon #13
Comments
This is not really an issue for the loose parser, which handles each separator as equal. But if the need arises, it could be implemented there as well. |
This often has a meaning, in e.g.
Here the semicolon ends a list after a colon. |
Another example, where it also ends the list after a colon.
|
Ok, I have something that seems to work ...
|
This seems to tackle it!
used to put everything after |
Still having trouble to parse an ingredient list with a nesting |
Many cases are handled, but not yet: - coloned list ending with a '.' (at the end of an ingredient listing) - list having a both coloned list ending with ';', and one ending with ',' - ';'-separated lists (instead of regular coma-separated lists)
Commit a4ca35c handles most cases. Pending:
|
An ingredients list like
"Schokolade (Süßungsmittel: Maltit; Kakaobutter, Kakaomasse)"
contains mixed separators (;
and,
). Hiere the semicolon is used to indicate the end of the second-level nesting forMaltit
.The text was updated successfully, but these errors were encountered: