> Here is my regex > > push( @errors, $1) if ( $_ =~ /^<$g_date.*method: (.*\. )/ );
Regex are greedy by defalt add a ? for non greedy matching push( @errors, $1) if ( $_ =~ /^<$g_date.*method: (.*?\. )/ ); and it should work /Stefan > What I am seeing is > > Number: 6048 Reason: blah failed: blah. blah. > > When I should be getting > > Number: 6048 Reason: blah failed: blah. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]