This regex would not match anything unless an ETX was found, while the poster wanted to stop reading as soon as 80 bytes were found.
(Apologies; originally this comment contained a typo such that it made no sense)
In reply to Re^2: Detect STX and ETX hex in received string
by ColonelPanic
in thread Detect STX and ETX hex in received string
by jagexCoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |