Changeset 16772 in josm for trunk/resources/data


Ignore:
Timestamp:
2020-07-15T20:39:32+02:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #19536 - Warn about numeric names (info level)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/numeric.mapcss

    r16685 r16772  
    602602  assertNoMatch: "node maxstay=\"2.5 hours\"";
    603603}
     604
     605/* #19536 */
     606*[name][name =~ /^([0-9.,]+)$/] {
     607  throwOther: tr("Numeric name: {0}. Maybe {1} or {2} is meant.", "{0.value}", "ref", "addr:housenumber");
     608  assertMatch: "node name=12";
     609  assertMatch: "node name=3.5";
     610  assertNoMatch: "node name=\"1. Chemnitzer Billardclub 1952 e.V.\"";
     611}
Note: See TracChangeset for help on using the changeset viewer.