Repository navigation
Commit 7cd2683
committed
nesc/ieee: preprint draft-stage rules + prefix-tolerant nesc guard
- c2_preprint: dotted canonical (C2.2012.Preprint), dash alias
(C2-2012-Preprint), catalogue slash tail (C2-2002/Preprint)
- preprint_proposal: 'Preprint Proposal(s) for the YYYY Edition of the
National Electrical Safety Code' -> the edition-year preprint
(longest-literal-first: 'Proposals' / 'Proposal'; the (NESC(R)) tail
is consumed without capture, mirroring c2_standard)
- ieee nesc_identifier: the optional 'IEEE Std ' prefix moves ahead of
the lookahead guard — a guard anchored at position 0 rejected every
prefixed catalogue spelling, so prefixed NESC forms never routed to
nesc (and prefixed renders never reparsed)1 parent b052d61 commit 7cd2683
3 files changed
Lines changed: 21 additions & 3 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
| |||
33 | 43 | | |
34 | 44 | | |
35 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
36 | 51 | | |
37 | 52 | | |
38 | 53 | | |
0 commit comments