diff --git a/DroidFishApp/src/main/java/org/petero/droidfish/gamelogic/GameTree.java b/DroidFishApp/src/main/java/org/petero/droidfish/gamelogic/GameTree.java index e424279..21434cf 100644 --- a/DroidFishApp/src/main/java/org/petero/droidfish/gamelogic/GameTree.java +++ b/DroidFishApp/src/main/java/org/petero/droidfish/gamelogic/GameTree.java @@ -1413,7 +1413,7 @@ public class GameTree { } private static Pair extractExtInfo(String comment, String cmd) { - comment = comment.replaceAll("\n|\r|\t", " "); + comment = comment.replaceAll("[\n\r\t]", " "); String remaining = comment; String param = null; String match = "[%" + cmd + " ";