[Israel.pm] FW: What's wrong with the parsing....?

Chanan Berler chananb at centerity.com
Thu Jan 1 07:43:05 PST 2009

Hello All,

I tried to do the following, and retrieve the 20 as a value:

$pattern = '.*?Instances=(\d+)';
$str = 'Network traffic is Instances=20 bytes';

@ls = $str =~ m/($pattrn)/g;

print $ls;

but it didn't work for me.

More information about the Perl mailing list