More accented characters

This commit is contained in:
M66B 2021-06-24 19:09:33 +02:00
parent 6be9129a75
commit de94006505
1 changed files with 6 additions and 3 deletions

View File

@ -1120,10 +1120,13 @@ public class FragmentCompose extends FragmentBase {
String glob = "*" +
typed.toString().toLowerCase()
.replaceAll("[aáàäâã]", "\\[aáàäâã\\]")
.replaceAll("[aáàäâãåæ]", "\\[aáàäâãåæ\\]")
.replaceAll("[bß]", "\\[bß\\]")
.replaceAll("[cç]", "\\[cç\\]")
.replaceAll("[eéèëê]", "\\[eéèëê\\]")
.replaceAll("[iíìî]", "\\[iíìî\\]")
.replaceAll("[oóòöôõ]", "\\[oóòöôõ\\]")
.replaceAll("[iíìïî]", "\\[iíìïî\\]")
.replaceAll("[nñ]", "\\[nñ\\]")
.replaceAll("[oóòöôõøœ]", "\\[oóòöôõøœ\\]")
.replaceAll("[uúùüû]", "\\[uúùüû\\]")
.replace("*", "[*]")
.replace("?", "[?]") +