Skip to content

Commit 332f462

Browse files
committed
Update matcher params
1 parent 1995051 commit 332f462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codec2talkie/src/main/java/com/radio/codec2talkie/protocol/aprs/AprsDataTextMessage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public boolean isValid() {
7979
}
8080

8181
private boolean isTelemetry(String textMessage) {
82-
Pattern p = Pattern.compile("^(EQNS|PARM|UNIT|BITS)[.].+$");
82+
Pattern p = Pattern.compile("^(EQNS|PARM|UNIT|BITS)[.].+$", Pattern.DOTALL);
8383
Matcher m = p.matcher(textMessage);
8484
return m.matches();
8585
}

0 commit comments

Comments
 (0)