diff --git a/app-core/src/main/java/com/mercury/platform/core/MercuryConstants.java b/app-core/src/main/java/com/mercury/platform/core/MercuryConstants.java index 2071a6d8..2c3dd568 100644 --- a/app-core/src/main/java/com/mercury/platform/core/MercuryConstants.java +++ b/app-core/src/main/java/com/mercury/platform/core/MercuryConstants.java @@ -4,7 +4,7 @@ * Created by Константин on 29.01.2017. */ public class MercuryConstants { - public static final String APP_VERSION = "1.0.0.7"; + public static final String APP_VERSION = "1.0.0.9"; public static final String SERVER_HOST = "exslims.ddns.net"; public static final int PORT = 5555; } diff --git a/app-core/src/main/java/com/mercury/platform/shared/MessageParser.java b/app-core/src/main/java/com/mercury/platform/shared/MessageParser.java index b8ae76c4..e394e300 100644 --- a/app-core/src/main/java/com/mercury/platform/shared/MessageParser.java +++ b/app-core/src/main/java/com/mercury/platform/shared/MessageParser.java @@ -8,9 +8,9 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; public class MessageParser { - private final static String poeTradePattern = "^(.*\\s)?(\\w+):.+ to buy your (.+) listed for (\\d+) (.+) in ([\\w-]+)\\.*\\s*(\\(stash tab \"(.*)\"; position: left (\\d+), top (\\d+)\\))?\\s*(.*)$"; - private final static String poeCurrencyPattern = "^(.*\\s)?(\\w+):.+ to buy your (\\d+) (.+) for my (\\d+) (.+) in ([\\w-]+)\\.*\\s*(.*)$"; - private final static String poeTradeNoBuyout = "^(.*\\s)?(\\w+):.+ to buy your (.+) in ([\\w-]+)\\.*\\s*(\\(stash tab \"(.*)\"; position: left (\\d+), top (\\d+)\\))?\\s*(.*)$"; + private final static String poeTradePattern = "^(.*\\s)?(.+):.+ to buy your (.+) listed for (\\d+) (.+) in ([\\w\\-\\s]+)\\.*\\s*(\\(stash tab \"(.*)\"; position: left (\\d+), top (\\d+)\\))?\\s*(.*)$"; + private final static String poeCurrencyPattern = "^(.*\\s)?(.+):.+ to buy your (\\d+) (.+) for my (\\d+) (.+) in ([\\w\\-\\s]+)\\.*\\s*(.*)$"; + private final static String poeTradeNoBuyout = "^(.*\\s)?(.+):.+ to buy your (.+) in ([\\w\\-\\s]+)\\.*\\s*(\\(stash tab \"(.*)\"; position: left (\\d+), top (\\d+)\\))?\\s*(.*)$"; private Pattern poeTradeItemPattern; private Pattern poeTradeCurrencyPattern;