Handle commas in single-quoted strings