Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ internal object CanteenParser
/**
* Matches the whole item description. Match contains capturing groups listed in [ItemDescriptionRegexGroups].
*/
private val ITEM_DESCRIPTION_REGEX = Regex("""^(?<${ItemDescriptionRegexGroups.SOUP}>.*?), ;(?<${ItemDescriptionRegexGroups.REST}>.*)""")
private val ITEM_DESCRIPTION_REGEX = Regex("""^(?<${ItemDescriptionRegexGroups.SOUP}>.*?),? ;(?<${ItemDescriptionRegexGroups.REST}>.*)""")

/**
* Contains names of regex capture groups inside [ITEM_DESCRIPTION_REGEX].
Expand Down