Small optimization

This commit is contained in:
Peter Osterlund 2020-04-05 09:38:27 +02:00
parent 93213f826f
commit 392ac334dc

View File

@ -1413,7 +1413,7 @@ public class GameTree {
}
private static Pair<String, String> 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 + " ";