in reply to Re: List::MoreUtils before, after and ... between?
in thread List::MoreUtils before, after and ... between?
Heh, I like that solution. Note that adding a second 'DBIC' and/or a second 'Dancer' demonstrates flaws in the exact regex you chose. But both of those flaws are easily overcome:
$list =~ /.*DBIC\0(.*?)\0DANCER/ # ^^ ^
But perhaps people less comfortable with regexes would like it less...
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: List::MoreUtils before, after and ... between? (1 regex)
by LanX (Saint) on Feb 22, 2012 at 15:34 UTC | |
by tye (Sage) on Feb 22, 2012 at 16:04 UTC | |
by LanX (Saint) on Feb 22, 2012 at 16:11 UTC | |
by LanX (Saint) on Feb 22, 2012 at 15:58 UTC |