From e2e62cdab540c7b5c5b7614a7b80707a4ff72e1d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 30 Apr 2015 09:35:27 +1200 Subject: Fix TK102 regex pattern (fix #1184) --- src/org/traccar/protocol/Tk102ProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') diff --git a/src/org/traccar/protocol/Tk102ProtocolDecoder.java b/src/org/traccar/protocol/Tk102ProtocolDecoder.java index c1dcd9bd4..9eef7cc91 100644 --- a/src/org/traccar/protocol/Tk102ProtocolDecoder.java +++ b/src/org/traccar/protocol/Tk102ProtocolDecoder.java @@ -42,7 +42,7 @@ public class Tk102ProtocolDecoder extends BaseProtocolDecoder { "([EW])" + "(\\d{3}\\.\\d{3})" + // Speed "(\\d{2})(\\d{2})(\\d{2})" + // Date (DDMMYY) - "\\d+\\)"); + "\\d+.*\\)\\]?"); @Override protected Object decode( -- cgit v1.2.3