Changeset 15060 in josm for trunk/data/validator
- Timestamp:
- 2019-05-07T22:30:33+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/wikipedia.mapcss
r14057 r15060 48 48 49 49 *[wikipedia =~ /(?i)^[-a-z]{2,12}:.*%[0-9A-F][0-9A-F]/] { 50 throwError: tr("{0} tag should not have URL-encoded values like ''%27''", "{0. tag}");50 throwError: tr("{0} tag should not have URL-encoded values like ''%27''", "{0.key}"); 51 51 fixAdd: concat("wikipedia=", get(regexp_match("(?i)^([-a-z]+:)(.*)$", tag("wikipedia")),1), trim(replace(URL_decode(get(regexp_match("(?i)^([-a-z]+:)(.+)$", tag("wikipedia")),2)), "_", " "))); 52 52 assertMatch: "node wikipedia=en:Foo%27s";
Note:
See TracChangeset
for help on using the changeset viewer.