diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-20 09:00:27 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-20 09:00:27 -0700 |
commit | 1fb6c86ea12f325bfdb372d98400c8a904c6e927 (patch) | |
tree | 96ae1986eb024145eae836c59ecb369ab20c0190 /src/main/java/org/traccar/helper | |
parent | 3899dddebcee96b80d5c939f50b846ef5042a7ff (diff) | |
download | trackermap-server-1fb6c86ea12f325bfdb372d98400c8a904c6e927.tar.gz trackermap-server-1fb6c86ea12f325bfdb372d98400c8a904c6e927.tar.bz2 trackermap-server-1fb6c86ea12f325bfdb372d98400c8a904c6e927.zip |
Support TK103 cell info (fix #4925)
Diffstat (limited to 'src/main/java/org/traccar/helper')
-rw-r--r-- | src/main/java/org/traccar/helper/PatternUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/helper/PatternUtil.java b/src/main/java/org/traccar/helper/PatternUtil.java index 74813e1d9..a46c7b7b4 100644 --- a/src/main/java/org/traccar/helper/PatternUtil.java +++ b/src/main/java/org/traccar/helper/PatternUtil.java @@ -63,7 +63,7 @@ public final class PatternUtil { for (int i = 0; i < pattern.length(); i++) { try { - Matcher matcher = Pattern.compile("(" + pattern.substring(0, i) + ").*").matcher(input); + Matcher matcher = Pattern.compile("(" + pattern.substring(0, i) + ")[\\s\\S]*").matcher(input); if (matcher.matches()) { result.patternMatch = pattern.substring(0, i); result.patternTail = pattern.substring(i); |