in reply to regex match multiple line (updated question)

I don't really understand what you are trying to do, but the one thing that came to my mind is that is you have this:
[00000056: AtrErr: DSID-03190F80, #1: 0: 00000056: DSID-03190F80, problem 1005 (CONSTRAINT_ATT_TYPE), da +ta 0, Att 9005a (unicodePwd) ]
then you are probably missing a chomp when processing your data.