Skip to content

GRAI regex wrong #4

@JohannesFluegel

Description

@JohannesFluegel

I don't know if your GRAI regex (\d{14})([\x21-\x22\x25-\x2F\x30-\x39\x41-\x5A\x5F\x61-\x7A]{0,16}) might be wrong. It means 14 digits then 0 to 16 special chars. But in https://www.gs1.org/docs/Digital-Link/GS1_Digital_link_Standard_i1.1.pdf, page 21 we read

grai-value = 14DIGIT 1*16XCHAR
; 14 digits then 1-16 characters
; from the 82-character subset of ISO/IEC 646

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions