Search (big) file via regex in C++
<p>I am searching a lot of files for a number of strings and some files are too big to put in memory. I tried loading chunks of 10kB or so and it worked, but what if the string I am looking for has been split - half of it in this chunk, the other half in the other? My pattern would never match. Is there any way to fix this?</p>