diff --git a/app/controllers/nwbib/Application.java b/app/controllers/nwbib/Application.java index 3661911..270909c 100644 --- a/app/controllers/nwbib/Application.java +++ b/app/controllers/nwbib/Application.java @@ -351,7 +351,7 @@ public static Promise journals() { } private static String sortValue(Map map, final String key) { - String value = map.get(key).replaceAll("^(Der|Die|Das|\\.\\.\\.)\\s", ""); + String value = map.get(key).replaceAll("^(Der|Die|Das|De)\\s", ""); return Arrays.asList(value.split("\\s")).toString(); } @@ -363,7 +363,7 @@ private static String journalLabelFor(JsonNode doc) { label += ": " + doc.get(other).elements().next().asText(); if (doc.has(responsibility)) label += " / " + doc.get(responsibility).elements().next().asText(); - return label; + return label.replaceAll("^\\.{3}\\s*", ""); } /**