Changeset 19244 in josm for trunk


Ignore:
Timestamp:
2024-10-16T08:07:09+02:00 (2 months ago)
Author:
stoecker
Message:

cut long line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/I18n.java

    r19241 r19244  
    159159    // Matches ISO-639 two and three letters language codes + scripts
    160160    private static final Pattern LANGUAGE_NAMES = Pattern.compile(
    161             "name:(\\p{Lower}{2,3})(?:[-_](?i:(" + String.join("|", HIRAGANA, KATAKANA, LATIN, PINYIN, LATINPINYIN, ROMAJI, HANI, HANS, HANT, BOPOMOFO) + ")))?");
     161            "name:(\\p{Lower}{2,3})(?:[-_](?i:(" + String.join("|", HIRAGANA, KATAKANA,
     162            LATIN, PINYIN, LATINPINYIN, ROMAJI, HANI, HANS, HANT, BOPOMOFO) + ")))?");
    162163
    163164    private static String format(String text, Object... objects) {
Note: See TracChangeset for help on using the changeset viewer.