in reply to Write to multiple files according to multiple regex
You may also be interested in Re^2: Advanced techniques with regex quantifiers [example use-case] by smls. It's a very general discussion, but in combination with the sliding window approach to handling large files, may be useful (or at least interesting) to you. It's certainly worth attention.
Give a man a fish: <%-(-(-(-<
|
|---|