in reply to Re^2: Join multiple lines in a string based on regex.in thread Join multiple lines in a string based on regex.
This can happen if the data does not start with an "array" line (I am guessing).