Many thanks to everyone.
I'll go with sliding windows but first probably i've got an idea myself, but i don't know if it's correct. My original file is divided in many "paragraphs" every one of them starting with a special line like this
What if i load in memory (in a single string?) this chunks that i'm sure they'll fit in memory and work with them one at a time ignoring the \n?>Header
In reply to Re^2: Regexp matching on a multiline file: dealing with line breaks
by BlueStarry
in thread Regexp matching on a multiline file: dealing with line breaks
by BlueStarry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |