Changeset 15546 in josm for trunk/data/validator


Ignore:
Timestamp:
2019-11-30T18:51:36+01:00 (5 years ago)
Author:
Don-vip
Message:

see #18360 - fix encoding issue

File:
1 edited

Legend:

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

    r15545 r15546  
    8383  assertMatch: "node wikipedia=en:foo";
    8484  assertNoMatch: "node wikipedia=en:Foo";
    85   assertMatch: "node wikipedia=ru:абв";
    86   assertNoMatch: "node wikipedia=ru:Ð�бв";
     85  assertMatch: "node wikipedia=ru:абв";
     86  assertNoMatch: "node wikipedia=ru:Абв";
    8787}
    8888
    8989*[wikipedia =~ /(?i)^[-a-z]{2,12}:.*_/][wikipedia !~ /(?i)^[-a-z]{2,12}:https?:/] {
    90   throwWarning: tr("wikipedia page title should have spaces instead of underscores (''_''→'' '')");
     90  throwWarning: tr("wikipedia page title should have spaces instead of underscores (''_'''' '')");
    9191  fixAdd: concat("wikipedia=", get(regexp_match("(?i)^([-a-z]+:)(.+)$", tag("wikipedia")),1), trim(replace(get(regexp_match("(?i)^([-a-z]+:)(.+)$", tag("wikipedia")),2), "_", " ")));
    9292  assertMatch: "node wikipedia=en:foo_bar";
Note: See TracChangeset for help on using the changeset viewer.