Changes between Version 41 and Version 42 of Rules/PublicTransportGtfs


Ignore:
Timestamp:
2024-02-07T18:38:24+01:00 (3 months ago)
Author:
skyper
Comment:

allow 2024 in release_date

Legend:

Unmodified
Added
Removed
Modified
  • Rules/PublicTransportGtfs

    v41 v42  
    303303*[network:guid ][network:guid  !~ /^(([A-Z]{2}-){2}[a-zA-Z]{2}.*|[A-Z]{2}-Flixbus|BO-C-Cochabamba|(CH|LU)-[a-zA-Z]{3,}|CO-BOY-[A-Z].+|ES-AR-Z-[A-Z].+|FR-IDF-(r|[a-zA-Z]{3,}.*)|MG-T-Antananarivo)$/],
    304304*[operator:guid][operator:guid !~ /^(([A-Z]{2}-){2}[a-zA-Z]{2}.*|[A-Z]{2}-Flixbus|BO-C-Cochabamba|(CH|LU)-[a-zA-Z]{3,}|CO-BOY-[A-Z].+|ES-AR-Z-[A-Z].+|FR-IDF-(r|[a-zA-Z]{3,}.*)|MG-T-Antananarivo)$/],
    305 *[gtfs:release_date][gtfs:release_date !~ /^20(1[89]|2[0-3])-(0[1-9]|1[0-2])-(3[01]|[12][0-9]|0[1-9])$/] {
     305*[gtfs:release_date][gtfs:release_date !~ /^20(2[0-4])-(0[1-9]|1[0-2])-(3[01]|[12][0-9]|0[1-9])$/] {
    306306  throwError: tr("Value `{0}` for `{1}=*` does not match value syntax.", "{0.value}", "{0.key}");
    307307/*  throwError: tr("Value `{0}` for `{1}=*` does not match value syntax `{2}`.", "{0.value}", "{0.key}", "{1.value}"); */