You could have used single quotes or double quotes in your RE, but they have to in matched pairs, and you can't include single quotes inside the double quotes unless you want those single quotes to be treated as literal characters to be matched. The command you showed us had an opening double quote, but no matching closing double quote.