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
In reply to Re^2: List::MoreUtils before, after and ... between? (1 regex)
by tye
in thread List::MoreUtils before, after and ... between?
by Boldra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |