Just another Perl shrine | |
PerlMonks |
Re: Searching in binary filesby Corion (Patriarch) |
on Dec 14, 2005 at 18:05 UTC ( [id://516709]=note: print w/replies, xml ) | Need Help?? |
Use a sliding window:
Instead of looking for a match in just one "line", you look for a match in the "line" and the "line" after it.
In Section
Seekers of Perl Wisdom
|
|