Use a cycle :)
or a cleaner but IMO more ugly code:push (@results, "$1::$2::$3") while $result_content =~ /$regex/g;
while ($result_content =~ /$regex/g) { push (@results, "$1::$2::$3"); }
In reply to Re^5: 3 capture multi line regex
by Ieronim
in thread 3 capture multi line regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |