in reply to Re: Regexp matching on a multiline file: dealing with line breaks
in thread Regexp matching on a multiline file: dealing with line breaks
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regexp matching on a multiline file: dealing with line breaks
by Laurent_R (Canon) on Dec 06, 2015 at 10:01 UTC | |
|
Re^3: Regexp matching on a multiline file: dealing with line breaks
by Athanasius (Archbishop) on Dec 06, 2015 at 13:12 UTC | |
by BlueStarry (Novice) on Dec 06, 2015 at 14:02 UTC | |
by BlueStarry (Novice) on Dec 10, 2015 at 17:19 UTC | |
by choroba (Cardinal) on Dec 10, 2015 at 17:26 UTC | |
by Anonymous Monk on Dec 10, 2015 at 21:55 UTC | |
by Athanasius (Archbishop) on Dec 11, 2015 at 09:58 UTC | |
by choroba (Cardinal) on Dec 10, 2015 at 22:08 UTC |