in reply to Re: Parsing multiline string line by line
in thread Parsing multiline string line by line

Why did you use the /s modifier? That only changes '.' from matching anything but carriage return to also matching it. I dont think it is doing anything useful there.

Replies are listed 'Best First'.
Re^3: Parsing multiline string line by line
by perreal (Monk) on Feb 19, 2009 at 15:09 UTC
    yes you are right. somehow I always use s whenever I think about new lines. edited. thanks.