I'm not sure this is an answer, perhaps a question for other Perk Monks. :-)
I'm not convinced that a regex is the way to go here, as I suspect the code should really just start accumulating data on detecting a STX and send it to the output on reaching 80 chars or an ETX. Adding regex detection seems, to me, to be adding a lot of overhead.
In reply to Re: Detect STX and ETX hex in received string
by space_monk
in thread Detect STX and ETX hex in received string
by jagexCoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |