Changeset 14409 in josm for trunk/scripts/presets_lang.pl
- Timestamp:
- 2018-11-03T21:25:03+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/presets_lang.pl
r13480 r14409 37 37 my $h = uri_unescape($data{href}); 38 38 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) 40 40 { 41 41 my $lang = lc($2);
Note:
See TracChangeset
for help on using the changeset viewer.