Module:Harvc: Difference between revisions

Content deleted Content added
sync from sandbox;
support for YYYY–YY;
Line 30:
c. YYYY
YYYY–YYYY (separator is endash)
YYYY–YY (separator is endash)
 
when anchor_year present, year portion must be same as year param and must have disambiguator
Line 49 ⟶ 50:
'^(nd)%l?$', -- nd
'^(c%. %d%d%d%d?)%l?$', -- c. YYY or c. YYYY
'^(%d%d%d%d–%d%d%d%d)%l?$', -- YYYY–YYYY
'^(%d%d%d%d–%d%d)%l?$' -- YYYY–YY
}