Skip to content

Commit

Permalink
fix barcode regex spec in JIDL
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemire60 committed Dec 6, 2022
1 parent dfcf758 commit d361f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imjadn-v1.0-cn01.md
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ At the top level, the library is map of barcodes to albums.
// Top level of the library is a map of CDs by barcode
Library = MapOf(barcode, Album){1..*}
Barcode = String /regex {%^\d{12}$%} // A UPC-A barcode is 12 digits
Barcode = String{pattern="^\d{12}$"} // A UPC-A barcode is 12 digits
```

Each album is then represented by a record of artist, title,
Expand Down

0 comments on commit d361f78

Please sign in to comment.