Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need to pull out the block from the abc closest to the def (the third one in this case) through the def. I have searched the site, and haven't found any slick ways of doing this. This seems like a fairly straightforward problem that someone else has had to solve before. Thank you for your help.abc [...] abc [...] abc [...] def [...] abc [...]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I match the closest of repeated strings?
by moritz (Cardinal) on Sep 29, 2008 at 08:33 UTC | |
by Anonymous Monk on Sep 29, 2008 at 09:27 UTC | |
|
Re: How do I match the closest of repeated strings?
by GrandFather (Saint) on Sep 29, 2008 at 08:42 UTC | |
by Anonymous Monk on Sep 29, 2008 at 09:19 UTC | |
by GrandFather (Saint) on Sep 29, 2008 at 20:00 UTC | |
|
Re: How do I match the closest of repeated strings?
by ikegami (Patriarch) on Sep 29, 2008 at 09:37 UTC | |
by moritz (Cardinal) on Sep 29, 2008 at 09:50 UTC | |
|
Re: How do I match the closest of repeated strings?
by graff (Chancellor) on Sep 30, 2008 at 01:53 UTC |