in reply to Re: using lookaround assertions to grab info
in thread using lookaround assertions to grab info
Note that this code is quite simple and will only work if only one section continues accross multiple lines, if you need more than one sections that handles multiple lines the same basic idea can work, but it takes more work.Thanks for the advice. I did think of such an approach and then discarded it for the very reason you state above. I'll look at it again and see if I can finagle something useful.
I guess the best way to state the problem is that the value of any label continues until a new label is encountered even if \n is encountered on the way. The labels are distinguished by \s*\w*\s:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: using lookaround assertions to grab info
by ryantate (Friar) on Jun 03, 2004 at 21:48 UTC | |
|
Re^3: using lookaround assertions to grab info
by Ven'Tatsu (Deacon) on Jun 03, 2004 at 21:45 UTC | |
by ryantate (Friar) on Jun 03, 2004 at 21:57 UTC | |
by Ven'Tatsu (Deacon) on Jun 03, 2004 at 22:23 UTC |