or download this
my $data =
qq#'msgagt=ESM_WMB_AIX,sec_id=Sec_id,severity=Low,node=test,msgnode=qw
+mbap01.cardinalhealth.net,utc={2007-04-26
...
error has been reported by the BIPXML4C component.:XML}' #;
print "$_\n" for $data =~ /((?:\w+=\w+)|(?:\w+=\{.*?\}))/g;