"be consistent" | |
PerlMonks |
Re: Search hex string in vary large binary fileby davido (Cardinal) |
on Feb 07, 2015 at 00:04 UTC ( [id://1115817]=note: print w/replies, xml ) | Need Help?? |
I agree with LanX: You're searching for a specific sequence, not a pattern. No need to fire up the regex engine to search for something that isn't a pattern. index is a good start. I don't know anything about the MV4 file format, but wouldn't the string you're searching for be in a header near the beginning of the file? That may also simplify your search. Dave
In Section
Seekers of Perl Wisdom
|
|