diff options
Diffstat (limited to 'src/org/traccar/helper/PatternBuilder.java')
-rw-r--r-- | src/org/traccar/helper/PatternBuilder.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/helper/PatternBuilder.java b/src/org/traccar/helper/PatternBuilder.java index fbef144e6..a0e24e017 100644 --- a/src/org/traccar/helper/PatternBuilder.java +++ b/src/org/traccar/helper/PatternBuilder.java @@ -82,6 +82,10 @@ public class PatternBuilder { } } + public PatternBuilder or() { + return xpr("|"); + } + public Pattern compile() { return Pattern.compile(pattern.toString(), Pattern.DOTALL); } |