Perl: the Markov chain saw | |
PerlMonks |
Re^2: Detect STX and ETX hex in received stringby ColonelPanic (Friar) |
on Nov 28, 2012 at 09:05 UTC ( [id://1005982]=note: print w/replies, xml ) | Need Help?? |
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) When's the last time you used duct tape on a duct? --Larry Wall
In Section
Seekers of Perl Wisdom
|
|