Changeset 14409 in josm for trunk/scripts


Ignore:
Timestamp:
2018-11-03T21:25:03+01:00 (13 months ago)
Author:
stoecker
Message:

fix presets lang parser and update languages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/presets_lang.pl

    r13480 r14409  
    3737      my $h = uri_unescape($data{href});
    3838      my $v = "href=\"$h\"";
    39       while($main =~ /<a href="(\/wiki\/[^"]+)"[^>]+><b>·<\/b> <bdi lang="([a-z_A-Z-]+)"(?: style="unicode-bidi:embed;unicode-bidi:-webkit-isolate;unicode-bidi:isolate")?>/g)
     39      while($main =~ /<a href="(\/wiki\/[^"]+)"[^>]+> <bdi lang="([a-z_A-Z-]+)"(?: style="unicode-bidi:embed;unicode-bidi:-webkit-isolate;unicode-bidi:isolate")?>/g)
    4040      {
    4141        my $lang = lc($2);
Note: See TracChangeset for help on using the changeset viewer.