Ignore:
Timestamp:
2017-10-16T20:49:43+02:00 (7 years ago)
Author:
Klumbumbus
Message:

fix #15439 - fine tune some validator rules (patch by nyurik)

File:
1 edited

Legend:

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

    r12493 r13005  
    77}
    88
    9 *[layer =~ /\+.*/] {
     9*[layer =~ /^\+\d/] {
    1010  throwWarning: tr("layer tag with + sign");
    1111  fixAdd: concat("layer=", replace(tag("layer"), "+", ""));
     
    1313  assertNoMatch: "node layer=1";
    1414  assertNoMatch: "node layer=-1";
     15  assertNoMatch: "node layer=+foo";
    1516}
    1617
Note: See TracChangeset for help on using the changeset viewer.