Help for this page
$_ = "abc*def*ghi"; ... m/(?: ([^*]+) (?{ push @matches, $^N}) \*?)+/x; print join('|', @matches), $/;