On 5 Nov., 17:12, [EMAIL PROTECTED] (John W . Krahn) wrote: > > Your pattern ()* is a list and the pattern will match every line but > only capture the *last* line matched. To do what you want you have to > loop through the lines individually. >
I would prefer to do without own loops. What about the option to use Regexp::NamedCaptures? Is there a way to stack results with this? Or does it require the new Perl5.10 / Perl6 features using "perl- plugin" via (?{...}) rgds! Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/