in reply to Re^3: 3 capture multi line regex
in thread 3 capture multi line regex
Your regex matched fine the first time but I need to put all occurences into an array. I can't get the array to hold anything now
I tried adding /g to the end but it doesn't contain anything at all. I tried adding /g to the regex itself but it errors out.push (@results, "$1::$2::$3"), $result_content =~ m/$regex/;
What am I doign wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: 3 capture multi line regex
by Ieronim (Friar) on Jun 30, 2006 at 21:40 UTC | |
by Anonymous Monk on Jun 30, 2006 at 22:28 UTC |