[Israel.pm] how do I handle unknown number of captures ?

Gaal Yahas gaal at forum2.org
Wed Jan 28 03:02:21 PST 2004

On Wed, Jan 28, 2004 at 11:34:56AM +0200, Uri Itscowits wrote:
> I want to run a capturing regex, with an unknown number of captures as a result,
>  how do I refer to the resulting list?
> for example :  
> regex like:  /(Ab)/g

my @matches = $data =~ /(Ab)/g;

Gaal Yahas <gaal at forum2.org>

More information about the Perl mailing list