Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jodal
Copy link
Owner

@jodal jodal commented Jul 29, 2024

In the latest GS1 Application Identifier dataset, there are four AIs
with optional pattern groups. When the value matches everything but the
optional pattern group, the group's value becomes None. This caused
Biip to crash when we tried building a string of the characters
matching the pattern.

Fixes #295

In the latest GS1 Application Identifier dataset, there are four AIs
with optional pattern groups. When the value matches everything but the
optional pattern group, the group's value becomes `None`. This caused
Biip to crashed when we tried building a string of the characters
matching the pattern.

Fixes #295
@jodal jodal force-pushed the optional-gs1-pattern-groups branch from 91cbf99 to 7a8c9a3 Compare July 29, 2024 16:23
@jodal jodal changed the title Support optional GS1 pattern groups and extract more date/datetimes Skip unmatching optional pattern groups Jul 29, 2024
@jodal jodal merged commit 5095ebe into main Jul 29, 2024
@jodal jodal deleted the optional-gs1-pattern-groups branch July 29, 2024 16:24
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.

TypeError raised when parsing gtin in 3.2.0

2 participants