It can be further optimized by only overlapping a possible partial match -- that is, if the delimiter is present towards the end, copy that through the end. Otherwise, don't bother. The single re can return a capture for the begin marker and optionally find the remainder.
In reply to Re: Re: Re: Re: How do I search this binary file?
by John M. Dlugosz
in thread How do I search this binary file?
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |