fix regex to match multiple quoted lines with quotes inside