|Problems? Is your data what you think it is?|
Re^3: Perl RE; how to capture, and replace based on a block?by Laurent_R (Abbot)
|on Dec 18, 2013 at 07:46 UTC||Need Help??|
By default, Perl RE are greedy. Have you considered the possibility that the end of line might be more than \n (if the file is coming from Windows, for example)?