aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-21 20:53:20 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-21 20:53:20 +1300
commit122a26d2822f35b27b9cb0b217916d6b821d9654 (patch)
tree3f9d9240e7e8a078b0b116bbdf33205c62ef84a9 /src/org/traccar/helper
parent6fc48063460a673815b182e0a8f3adf4db0fd08a (diff)
downloadtrackermap-server-122a26d2822f35b27b9cb0b217916d6b821d9654.tar.gz
trackermap-server-122a26d2822f35b27b9cb0b217916d6b821d9654.tar.bz2
trackermap-server-122a26d2822f35b27b9cb0b217916d6b821d9654.zip
Refactor TK102 and fix minor issues
Diffstat (limited to 'src/org/traccar/helper')
-rw-r--r--src/org/traccar/helper/PatternBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/helper/PatternBuilder.java b/src/org/traccar/helper/PatternBuilder.java
index b68089b53..5092200be 100644
--- a/src/org/traccar/helper/PatternBuilder.java
+++ b/src/org/traccar/helper/PatternBuilder.java
@@ -43,7 +43,7 @@ public class PatternBuilder {
// TeXT
public PatternBuilder txt(String s) {
- pattern.append(s.replaceAll("([\\\\\\.\\[\\{\\(\\*\\+\\?\\^\\$\\|])", "\\\\$1"));
+ pattern.append(s.replaceAll("([\\\\\\.\\[\\{\\(\\)\\*\\+\\?\\^\\$\\|])", "\\\\$1"));
return this;
}