fix: include '!' in regex for language file processing
This commit is contained in:
@@ -53,7 +53,7 @@ public class Languages {
|
||||
|
||||
for(String line : Files.readAllLines(locale.toPath())) {
|
||||
//line = line.replaceAll("[^\\p{L}\\s,#_+.:;]+", "");
|
||||
line = line.replaceAll("[^a-zA-Z0-9äöüÄÖÜ ,:;#_+]", "");
|
||||
line = line.replaceAll("[^a-zA-Z0-9äöüÄÖÜ ,:;#!_+]", "");
|
||||
String[] columns = line.split(";");
|
||||
|
||||
if(columns.length < 1) continue;
|
||||
|
Reference in New Issue
Block a user