Changeset 18384 in josm for trunk/resources/data
- Timestamp:
- 2022-03-04T21:43:45+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/numeric.mapcss
r17955 r18384 531 531 } 532 532 533 *[interval][interval !~ /^([0-9][0-9]? |[0-9][0-9]:[0-5][0-9](:[0-9][0-9])?)$/] {533 *[interval][interval !~ /^([0-9][0-9]?[0-9]?|[0-9]+[0-9]:[0-5][0-9](:[0-5][0-9])?)$/] { 534 534 throwWarning: tr("unusual value of {0}", "{0.key}"); 535 535 assertNoMatch: "way interval=5"; … … 538 538 assertNoMatch: "way interval=00:05:00"; 539 539 assertNoMatch: "way interval=03:00:00"; 540 assertMatch: "way interval=123"; 540 assertNoMatch: "relation interval=168:00:00"; 541 assertNoMatch: "relation interval=120"; 541 542 assertMatch: "way interval=0:5:0"; 542 543 assertMatch: "way interval=00:65:00"; 544 assertMatch: "way interval=00:15:90"; 543 545 } 544 546
Note:
See TracChangeset
for help on using the changeset viewer.