pubid 2.0.45 → 2.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/conformance/pending.yaml +173 -0
- data/data/parg/ansi.json +1 -1
- data/data/parg/itu.json +1 -1
- data/lib/pubid/ansi/CLAUDE.md +59 -0
- data/lib/pubid/ansi/builder.rb +14 -0
- data/lib/pubid/ansi/identifier.rb +16 -0
- data/lib/pubid/ansi/identifiers/american_national_standard.rb +2 -1
- data/lib/pubid/ansi/pubid_urn_schema.rb +4 -3
- data/lib/pubid/ansi/renderer.rb +9 -1
- data/lib/pubid/ansi.rb +8 -2
- data/lib/pubid/eu/CLAUDE.md +33 -0
- data/lib/pubid/eu/builder.rb +22 -8
- data/lib/pubid/eu/identifier.rb +75 -4
- data/lib/pubid/eu/pubid_urn_schema.rb +3 -1
- data/lib/pubid/itu/CLAUDE.md +29 -1
- data/lib/pubid/itu/builder.rb +6 -1
- data/lib/pubid/itu/identifiers/resolution.rb +38 -0
- data/lib/pubid/itu/identifiers.rb +1 -0
- data/lib/pubid/itu/pubid_urn_schema.rb +1 -0
- data/lib/pubid/itu/urn_generator.rb +3 -0
- data/lib/pubid/itu/urn_parser.rb +10 -11
- data/lib/pubid/prefixes_support.rb +11 -0
- data/lib/pubid/version.rb +1 -1
- data/lib/pubid.rb +18 -1
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 38deff0638245cbb818efee3e1c84d2609c2345f723481911b97f41f38ff75b7
|
|
4
|
+
data.tar.gz: '00387514abeb057d531de9ca92e0bfa33f56ea012178ece3681292dc50d7eeec'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af5fa6dbdde25dc2e8a4abcccaa6f55cb6c0385c63847b3feb0b6abc294c9a1a2db3c02f10685e7253f3c0b2877458e9fba9af2dd7508684ab40655e649f3357
|
|
7
|
+
data.tar.gz: c62f2206a43eb445f543e4528695a27fdd2639362eff38576691ff94698ac66064288f324aa110ae9d14fff22151c16afe5515ed46a7e69bd5a7a29af7815667
|
data/conformance/pending.yaml
CHANGED
|
@@ -2,3 +2,176 @@
|
|
|
2
2
|
# Rules: entries need reason + ref; a pending case that passes raises
|
|
3
3
|
# the pending-satisfied alarm and MUST be unmarked (TODO.correct-test-suite/04).
|
|
4
4
|
---
|
|
5
|
+
# relaton#45: a trailing -YYYY is the year, not a part. These testsuite
|
|
6
|
+
# rows still record part: 'YYYY'; unmark them after the pubid-testsuite
|
|
7
|
+
# ANSI round (the pending-satisfied alarm names them).
|
|
8
|
+
ansi.standard.0001: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
9
|
+
ansi.standard.0002: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
10
|
+
ansi.standard.0003: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
11
|
+
ansi.standard.0004: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
12
|
+
ansi.standard.0005: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
13
|
+
ansi.standard.0006: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
14
|
+
ansi.standard.0007: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
15
|
+
ansi.standard.0008: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
16
|
+
ansi.standard.0009: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
17
|
+
ansi.standard.0010: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
18
|
+
ansi.standard.0011: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
19
|
+
ansi.standard.0012: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
20
|
+
ansi.standard.0013: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
21
|
+
ansi.standard.0014: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
22
|
+
ansi.standard.0015: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
23
|
+
ansi.standard.0016: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
24
|
+
ansi.standard.0017: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
25
|
+
ansi.standard.0018: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
26
|
+
ansi.standard.0019: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
27
|
+
ansi.standard.0020: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
28
|
+
ansi.standard.0021: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
29
|
+
ansi.standard.0022: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
30
|
+
ansi.standard.0023: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
31
|
+
ansi.standard.0024: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
32
|
+
ansi.standard.0025: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
33
|
+
ansi.standard.0026: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
34
|
+
ansi.standard.0027: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
35
|
+
ansi.standard.0028: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
36
|
+
ansi.standard.0029: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
37
|
+
ansi.standard.0030: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
38
|
+
ansi.standard.0031: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
39
|
+
ansi.standard.0032: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
40
|
+
ansi.standard.0033: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
41
|
+
ansi.standard.0034: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
42
|
+
ansi.standard.0035: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
43
|
+
ansi.standard.0036: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
44
|
+
ansi.standard.0037: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
45
|
+
ansi.standard.0038: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
46
|
+
ansi.standard.0039: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
47
|
+
ansi.standard.0040: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
48
|
+
ansi.standard.0041: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
49
|
+
ansi.standard.0042: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
50
|
+
ansi.standard.0043: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
51
|
+
ansi.standard.0044: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
52
|
+
ansi.standard.0045: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
53
|
+
ansi.standard.0046: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
54
|
+
ansi.standard.0047: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
55
|
+
ansi.standard.0048: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
56
|
+
ansi.standard.0049: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
57
|
+
ansi.standard.0050: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
58
|
+
ansi.standard.0051: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
59
|
+
ansi.standard.0052: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
60
|
+
ansi.standard.0053: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
61
|
+
ansi.standard.0054: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
62
|
+
ansi.standard.0055: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
63
|
+
ansi.standard.0056: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
64
|
+
ansi.standard.0057: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
65
|
+
ansi.standard.0058: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
66
|
+
ansi.standard.0059: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
67
|
+
ansi.standard.0060: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
68
|
+
ansi.standard.0061: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
69
|
+
ansi.standard.0062: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
70
|
+
ansi.standard.0063: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
71
|
+
ansi.standard.0064: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
72
|
+
ansi.standard.0065: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
73
|
+
ansi.standard.0066: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
74
|
+
ansi.standard.0067: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
75
|
+
ansi.standard.0068: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
76
|
+
ansi.standard.0069: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
77
|
+
ansi.standard.0070: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
78
|
+
ansi.standard.0071: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
79
|
+
ansi.standard.0072: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
80
|
+
ansi.standard.0073: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
81
|
+
ansi.standard.0074: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
82
|
+
ansi.standard.0075: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
83
|
+
ansi.standard.0076: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
84
|
+
ansi.standard.0077: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
85
|
+
ansi.standard.0078: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
86
|
+
ansi.standard.0079: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
87
|
+
ansi.standard.0080: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
88
|
+
ansi.standard.0081: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
89
|
+
ansi.standard.0082: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
90
|
+
ansi.standard.0083: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
91
|
+
ansi.standard.0084: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
92
|
+
ansi.standard.0085: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
93
|
+
ansi.standard.0086: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
94
|
+
ansi.standard.0087: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
95
|
+
ansi.standard.0088: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
96
|
+
ansi.standard.0089: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
97
|
+
ansi.standard.0090: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
98
|
+
ansi.standard.0091: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
99
|
+
ansi.standard.0092: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
100
|
+
ansi.standard.0093: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
101
|
+
ansi.standard.0094: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
102
|
+
ansi.standard.0095: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
103
|
+
ansi.standard.0096: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
104
|
+
ansi.standard.0097: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
105
|
+
ansi.standard.0098: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
106
|
+
ansi.standard.0099: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
107
|
+
ansi.standard.0100: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
108
|
+
ansi.standard.0101: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
109
|
+
ansi.standard.0102: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
110
|
+
ansi.standard.0103: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
111
|
+
ansi.standard.0104: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
112
|
+
ansi.standard.0105: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
113
|
+
ansi.standard.0106: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
114
|
+
ansi.standard.0107: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
115
|
+
ansi.standard.0108: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
116
|
+
ansi.standard.0109: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
117
|
+
ansi.standard.0110: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
118
|
+
ansi.standard.0111: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
119
|
+
ansi.standard.0112: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
120
|
+
ansi.standard.0113: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
121
|
+
ansi.standard.0114: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
122
|
+
ansi.standard.0115: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
123
|
+
ansi.standard.0116: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
124
|
+
ansi.standard.0117: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
125
|
+
ansi.standard.0118: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
126
|
+
ansi.standard.0119: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
127
|
+
ansi.standard.0120: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
128
|
+
ansi.standard.0121: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
129
|
+
ansi.standard.0122: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
130
|
+
ansi.standard.0123: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
131
|
+
ansi.standard.0124: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
132
|
+
ansi.standard.0125: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
133
|
+
ansi.standard.0126: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
134
|
+
ansi.standard.0127: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
135
|
+
ansi.standard.0128: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
136
|
+
ansi.standard.0129: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
137
|
+
ansi.standard.0130: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
138
|
+
ansi.standard.0131: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
139
|
+
ansi.standard.0132: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
140
|
+
ansi.standard.0133: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
141
|
+
ansi.standard.0137: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
142
|
+
ansi.standard.0138: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
143
|
+
ansi.standard.0139: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
144
|
+
ansi.standard.0140: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
145
|
+
ansi.standard.0141: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
146
|
+
ansi.standard.0142: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
147
|
+
ansi.standard.0143: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
148
|
+
ansi.standard.0144: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
149
|
+
ansi.standard.0145: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
150
|
+
ansi.standard.0146: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
151
|
+
ansi.standard.0147: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
152
|
+
ansi.standard.0148: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
153
|
+
ansi.standard.0149: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
154
|
+
ansi.standard.0150: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
155
|
+
ansi.standard.0151: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
156
|
+
ansi.standard.0152: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
157
|
+
ansi.standard.0153: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
158
|
+
ansi.standard.0154: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
159
|
+
ansi.standard.0155: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
160
|
+
ansi.standard.0156: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
161
|
+
ansi.standard.0157: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
162
|
+
ansi.standard.0158: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
163
|
+
ansi.standard.0159: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
164
|
+
ansi.standard.0160: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
165
|
+
ansi.standard.0161: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
166
|
+
ansi.standard.0162: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
167
|
+
ansi.standard.0163: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
168
|
+
ansi.standard.0164: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
169
|
+
ansi.standard.0165: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
170
|
+
ansi.standard.0166: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
171
|
+
ansi.standard.0167: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
172
|
+
ansi.standard.0168: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
173
|
+
ansi.standard.0169: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
174
|
+
ansi.standard.0170: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
175
|
+
ansi.standard.0171: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
176
|
+
ansi.standard.0172: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
|
177
|
+
ansi.standard.0173: {reason: "trailing -YYYY now parses as the year (date + date_separator), not part", since: "2026-11-20", ref: "handoff pubid__pubid-testsuite__ansi-year-and-corpus"}
|
data/data/parg/ansi.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"bindings":null,"version":"0.1.0","grammar":"PubidAnsi","shape":"parsanol-tree/v2","binding_version":1,"entries":{"identifier":{"root":"identifier","grammar":{"atoms":[{"Entity":{"atom":
|
|
1
|
+
{"bindings":null,"version":"0.1.0","grammar":"PubidAnsi","shape":"parsanol-tree/v2","binding_version":1,"entries":{"identifier":{"root":"identifier","grammar":{"atoms":[{"Entity":{"atom":84}},{"Str":{"pattern":"ANSI"}},{"Named":{"name":"publisher","atom":1}},{"Entity":{"atom":17}},{"Entity":{"atom":15}},{"Str":{"pattern":"/"}},{"Str":{"pattern":" "}},{"Repetition":{"atom":6,"min":0,"max":1,"tag":"Maybe"}},{"Re":{"pattern":"[\\x41-\\x5a]"}},{"Re":{"pattern":"[\\x41-\\x5a]"}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Alternative":{"atoms":[9,10]}},{"Repetition":{"atom":11,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[8,12]}},{"Named":{"name":"copublisher","atom":13}},{"Sequence":{"atoms":[5,7,14]}},{"Repetition":{"atom":4,"min":1,"max":null,"tag":"Repetition"}},{"Named":{"name":"copublishers","atom":16}},{"Str":{"pattern":" "}},{"Str":{"pattern":"Std "}},{"Repetition":{"atom":19,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":57}},{"Re":{"pattern":"[\\x41-\\x5a]"}},{"Repetition":{"atom":22,"min":1,"max":null,"tag":"Repetition"}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Repetition":{"atom":24,"min":1,"max":null,"tag":"Repetition"}},{"Str":{"pattern":"."}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Repetition":{"atom":27,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[26,28]}},{"Repetition":{"atom":29,"min":0,"max":3,"tag":"Repetition"}},{"Re":{"pattern":"[\\x41-\\x5a]"}},{"Repetition":{"atom":31,"min":0,"max":1,"tag":"Repetition"}},{"Repetition":{"atom":32,"min":0,"max":1,"tag":"Maybe"}},{"Str":{"pattern":"-"}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Repetition":{"atom":35,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[34,36]}},{"Repetition":{"atom":37,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[23,25,30,33,38]}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Repetition":{"atom":40,"min":1,"max":null,"tag":"Repetition"}},{"Str":{"pattern":"."}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Repetition":{"atom":43,"min":1,"max":null,"tag":"Repetition"}},{"Re":{"pattern":"[\\x61-\\x7a]"}},{"Repetition":{"atom":45,"min":0,"max":1,"tag":"Repetition"}},{"Repetition":{"atom":46,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[42,44,47]}},{"Repetition":{"atom":48,"min":0,"max":2,"tag":"Repetition"}},{"Str":{"pattern":"-"}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Repetition":{"atom":51,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[50,52]}},{"Repetition":{"atom":53,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[41,49,54]}},{"Alternative":{"atoms":[39,55]}},{"Named":{"name":"number_with_part","atom":56}},{"Entity":{"atom":69}},{"Str":{"pattern":":"}},{"Str":{"pattern":"19"}},{"Str":{"pattern":"20"}},{"Alternative":{"atoms":[60,61]}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Repetition":{"atom":63,"min":2,"max":null,"tag":"Repetition"}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Lookahead":{"atom":65,"positive":false}},{"Sequence":{"atoms":[62,64,66]}},{"Named":{"name":"date","atom":67}},{"Sequence":{"atoms":[59,68]}},{"Repetition":{"atom":58,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":82}},{"Str":{"pattern":"("}},{"Entity":{"atom":80}},{"Re":{"pattern":"[\\x61-\\x7a]"}},{"Repetition":{"atom":74,"min":2,"max":null,"tag":"Repetition"}},{"Str":{"pattern":","}},{"Repetition":{"atom":76,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[75,77]}},{"Repetition":{"atom":78,"min":0,"max":null,"tag":"Repetition"}},{"Named":{"name":"languages","atom":79}},{"Str":{"pattern":")"}},{"Sequence":{"atoms":[72,73,81]}},{"Repetition":{"atom":71,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[2,3,18,20,21,70,83]}},{"Entity":{"atom":96}},{"Str":{"pattern":"ANSI"}},{"Named":{"name":"publisher","atom":86}},{"Str":{"pattern":" "}},{"Str":{"pattern":"Std "}},{"Repetition":{"atom":89,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":57}},{"Entity":{"atom":69}},{"Repetition":{"atom":92,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":82}},{"Repetition":{"atom":94,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[87,88,90,91,93,95]}},{"Alternative":{"atoms":[0,85]}}],"root":97},"bindings":[{"capture":"publisher","path":"publisher","type":"string","card":null,"preprocess":null},{"capture":"copublisher","path":"copublishers[].copublisher","type":"string","card":null,"preprocess":null},{"capture":"number_with_part","path":"number_with_part","type":"string","card":null,"preprocess":null},{"capture":"date","path":"date","type":"string","card":null,"preprocess":null},{"capture":"languages","path":"languages","type":"string","card":null,"preprocess":null}]}},"preprocess":{},"tables":{},"lint":{"order_warnings":["rule identifier: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)"]},"default_entry":"identifier","render":{},"derive":{},"tests":[{"entry":"identifier","kind":"accept","input":"ANSI C63.4","expect":{}},{"entry":"identifier","kind":"accept","input":"ANSI/IEEE C63.4","expect":{}},{"entry":"identifier","kind":"accept","input":"ANSI Std A119.1","expect":{}},{"entry":"identifier","kind":"accept","input":"ANSI X9.62-2005","expect":{}},{"entry":"identifier","kind":"accept","input":"ANSI/UL 94-2023","expect":{}},{"entry":"identifier","kind":"accept","input":"ANSI/NISO Z39.88-2004","expect":{}},{"entry":"identifier","kind":"accept","input":"ANSI/ASHRAE/IES 90.1-2019","expect":{}},{"entry":"identifier","kind":"accept","input":"ANSI/AAMI ST79:2017","expect":{}},{"entry":"identifier","kind":"reject","input":"ANSI/ul 94-2023","expect":{}},{"entry":"identifier","kind":"reject","input":"nonsense","expect":{}}],"docs":{},"source":"# Port of lib/pubid/ansi/parser.rb: ANSI [copublishers] [Std] number\n# [:year][(languages)]. The number alternatives cover letter-prefixed\n# forms (C37.06.1, N323A) and plain dotted forms (802.1b-1995).\n#\n# Edition-2 notes: letter_head_part / plain_part / year_digits bodies are\n# inlined at the capture sites (a capture wrapping a rule ref expands to\n# element hashes, while the inlined body binds as one scalar string).\n# The copublishers wrapper stays a capture so the tree keeps the\n# {copublishers: [...]} shape the builder reads; the repeats collect by\n# occurrence under copublishers[].copublisher.\n\ngrammar PubidAnsi version \"0.1.0\" edition 2 {\n # Any uppercase developer acronym co-publishes (relaton#45): ASHRAE,\n # UL, NISO, INCITS, HL7, ASC ... An uppercase letter, then uppercase\n # letters or digits. The copublisher body is inlined to raw terms: bare\n # rule refs next to a capture drop the capture or materialize stray\n # {slash:} nodes.\n copublisher_item = \"/\" [\" \"] ( %x41-5A 1*(%x41-5A / %x30-39) ) as copublisher\n copublishers = ( 1*copublisher_item ) as copublishers\n std_keyword = [\"Std \"]\n number_with_part = {\n (\n ( 1*(%x41-5A) 1*(%x30-39) *3(\".\" 1*(%x30-39)) [*1(%x41-5A)] [(\"-\" 1*(%x30-39))] )\n / ( 1*(%x30-39) *2(\".\" 1*(%x30-39) [*1(%x61-7A)]) [(\"-\" 1*(%x30-39))] )\n ) as number_with_part\n }\n date = \":\" ( (\"19\" / \"20\") 2*(%x30-39) !(%x30-39) ) as date\n languages = ( *( 2*(%x61-7A) [\",\"] ) ) as languages\n language = \"(\" languages \")\"\n identifier_with_copublishers = {\n \"ANSI\" as publisher copublishers \" \" [\"Std \"] number_with_part [date] [language]\n }\n identifier_sole = {\n \"ANSI\" as publisher \" \" [\"Std \"] number_with_part [date] [language]\n }\n identifier = identifier_with_copublishers / identifier_sole\n upper = %x41-5A\n lower = %x61-7A\n digit = %x30-39\n dot = \".\"\n dash = \"-\"\n colon = \":\"\n slash = \"/\"\n space = \" \"\n entry identifier: identifier\n\n bindings identifier {\n publisher -> publisher (string)\n copublisher -> copublishers[].copublisher (string)\n number_with_part -> number_with_part (string)\n date -> date (string)\n languages -> languages (string)\n }\n\n test {\n accept \"ANSI C63.4\"\n accept \"ANSI/IEEE C63.4\"\n accept \"ANSI Std A119.1\"\n accept \"ANSI X9.62-2005\"\n accept \"ANSI/UL 94-2023\"\n accept \"ANSI/NISO Z39.88-2004\"\n accept \"ANSI/ASHRAE/IES 90.1-2019\"\n accept \"ANSI/AAMI ST79:2017\"\n reject \"ANSI/ul 94-2023\"\n reject \"nonsense\"\n }\n}\n","source_hash":"9a6a813325d5e5898758f9038be5cc0d34b4e4078f55f96b8e63e2e53a6dfc11","unicode_tables":"onigmo (Ruby 3.4.10)","compiler_version":"1.5.1.0","edition":2,"semantics_hash":"sha256:a592ed0b5dda81c93fcf98c9c3e6520ce56dfb93983312ca02452850693d0cf4","checksum":"sha256:fa2c1388465ee69b9752907ba358a9f6c8f909e06f2415dca4c78133a44f508b","validated":{"lint_errors":0,"lint_warnings":1,"tests_total":10,"tests_failures":0,"self_test":true},"byte_checksum":"sha256:42f854707e693e3e0f880a35c070d16448e7ed1f51665c6dc552e79bd23a0e49"}
|