kopia lustrzana https://github.com/sh123/codec2_talkie
rodzic
1995051f89
commit
332f4627e1
|
@ -79,7 +79,7 @@ public class AprsDataTextMessage implements AprsData {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isTelemetry(String textMessage) {
|
private boolean isTelemetry(String textMessage) {
|
||||||
Pattern p = Pattern.compile("^(EQNS|PARM|UNIT|BITS)[.].+$");
|
Pattern p = Pattern.compile("^(EQNS|PARM|UNIT|BITS)[.].+$", Pattern.DOTALL);
|
||||||
Matcher m = p.matcher(textMessage);
|
Matcher m = p.matcher(textMessage);
|
||||||
return m.matches();
|
return m.matches();
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue