The size of the data doesn't matter, it's the maximum size of the regex which counts. Suppose you have a maximum regex size of n, then your chunk size should be n (or greater). The algorithm is then:
HTH.
In reply to Re^4: Possible to have regexes act on file directly (not in memory)
by hippo
in thread Possible to have regexes act on file directly (not in memory)
by Nocturnus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |