Currently, packet decode uses substring, charAt, indexOf, and other string methods to handle parsing packets. This can likely be more concisely written using regex.
This issue is to consider if this is true and, if it is, make the switch in code.
Acceptance Criteria
[ ] Decide if regex can be more efficient or more maintainable in code. Document decision in the comments of this issue.
[ ] If the switch to regex should be made, implement the changes
Description
Currently, packet decode uses
substring
,charAt
,indexOf
, and otherstring
methods to handle parsing packets. This can likely be more concisely written using regex.This issue is to consider if this is true and, if it is, make the switch in code.
Acceptance Criteria