Skip to content

Commit

Permalink
1.0.15
Browse files Browse the repository at this point in the history
Does anyone really understand regex?
  • Loading branch information
niccellular committed May 1, 2024
1 parent c19e04b commit fecb2d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
buildscript {


ext.PLUGIN_VERSION = "1.0.14"
ext.PLUGIN_VERSION = "1.0.15"
ext.ATAK_VERSION = "4.10.0"

def takdevVersion = '2.+'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public void onReceive(Context context, Intent intent) {
CotDetail groupDetail = new CotDetail("__group");
String[] teamColor = {"Unknown", " -0"};
try {
teamColor = nodeName.split("((?= -[0-9]?$))");
teamColor = nodeName.split("((?= -[0-9]+$))");
if (teamColor.length < 2) {
teamColor = new String[]{nodeName, " -10"};
}
Expand Down

0 comments on commit fecb2d6

Please sign in to comment.