Changeset 7836 in josm for trunk/data
- Timestamp:
- 2014-12-19T19:10:14+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/multiple.mapcss
r6928 r7836 1 /* see #9757 - Better handling of semicolon in values1 /* see #9757, #10869 - Better handling of semicolon in values 2 2 */ 3 3 *["addr:street" =~ /.+;(.+)?/], … … 10 10 throwWarning: tr("{0} with multiple values", "{0.key}"); 11 11 } 12 13 *[source =~ /^(;.*|.*;;.*|.*;)$/], 14 *["source:addr" =~ /^(;.*|.*;;.*|.*;)$/], 15 *["source:maxspeed" =~ /^(;.*|.*;;.*|.*;)$/], 16 *["source:name" =~ /^(;.*|.*;;.*|.*;)$/], 17 *["source:position" =~ /^(;.*|.*;;.*|.*;)$/], 18 *["source:postcode" =~ /^(;.*|.*;;.*|.*;)$/], 19 *[ref =~ /^(;.*|.*;;.*|.*;)$/], 20 *[int_ref =~ /^(;.*|.*;;.*|.*;)$/], 21 *[old_ref =~ /^(;.*|.*;;.*|.*;)$/], 22 *[source_ref =~ /^(;.*|.*;;.*|.*;)$/], 23 *[route_ref =~ /^(;.*|.*;;.*|.*;)$/], 24 *[attribution =~ /^(;.*|.*;;.*|.*;)$/], 25 *[name =~ /^(;.*|.*;;.*|.*;)$/], 26 *[alt_name =~ /^(;.*|.*;;.*|.*;)$/], 27 *[note =~ /^(;.*|.*;;.*|.*;)$/], 28 *[fixme =~ /^(;.*|.*;;.*|.*;)$/], 29 *["addr:housenumber" =~ /^(;.*|.*;;.*|.*;)$/], 30 *[destination =~ /^(;.*|.*;;.*|.*;)$/], 31 *[exit_to =~ /^(;.*|.*;;.*|.*;)$/], 32 *[surface =~ /^(;.*|.*;;.*|.*;)$/], 33 *["building:use" =~ /^(;.*|.*;;.*|.*;)$/], 34 *[traffic_sign =~ /^(;.*|.*;;.*|.*;)$/], 35 *[voltage =~ /^(;.*|.*;;.*|.*;)$/], 36 *[cuisine =~ /^(;.*|.*;;.*|.*;)$/] { 37 throwWarning: tr("empty value in semicolon-separated '{0}'", "{0.key}"); 38 assertMatch: "node ref=;A1"; 39 assertMatch: "node ref=A1;"; 40 assertMatch: "node ref=;"; 41 assertMatch: "node ref=A1;;A2"; 42 assertNoMatch: "node ref=A1"; 43 assertNoMatch: "node ref=A1;A2"; 44 }
Note:
See TracChangeset
for help on using the changeset viewer.