Skip to content

Commit

Permalink
Make it optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin authored Jun 22, 2021
1 parent f2c9499 commit 35f15c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ private Position decodeOld(Channel channel, SocketAddress remoteAddress, String
.groupEnd("?").text(",")
.number("(d+)?,") // rfid
.number("([01])(d)?").optional() // charge and belt status
.expression("[^,]*,")
.expression("[^,]*,").optional()
.number("(d+)?,") // battery
.expression("([^,]*)[,;]") // alert
.any()
Expand Down

0 comments on commit 35f15c9

Please sign in to comment.