Changeset 18757 in josm for trunk/resources/data/validator/wikipedia.mapcss
- Timestamp:
- 2023-06-14T18:01:00+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/wikipedia.mapcss
r18509 r18757 55 55 *[/^wikipedia:[-a-z]{2,12}$/][/^wikipedia:[-a-z]{2,12}$/ =~ /(?i).*%[0-9A-F][0-9A-F]/] { 56 56 throwError: tr("{0} tag should not have URL-encoded values like ''%27''", "{0.key}"); 57 /* fixAdd: concat("{0.key}", "=", get(regexp_match("(?i)^([-a-z]+:)(.*)$", tag("{0.key}")),1), trim(replace(URL_decode(get(regexp_match("(?i)^([-a-z]+:)(.+)$", tag("{0.key}")),2)), "_", " "))); */ 58 /* tag("{0.key}") is not yet supported */ 57 fixAdd: concat("{0.key}", "=", get(regexp_match("(?i)^([-a-z]+:)?(.*)$", tag("{0.key}")),1), trim(replace(URL_decode(get(println(regexp_match("(?i)^([-a-z]+:)?(.+)$", tag("{0.key}"))),2)), "_", " "))); 59 58 assertMatch: "node wikipedia:de=Foo%27s"; 60 59 assertNoMatch: "node wikipedia:de=Foo";
Note:
See TracChangeset
for help on using the changeset viewer.