If I\'m trying to match a quote-delimited string with a regex, which of the following is \"better\" (where \"better\" means both more efficient and less likely to do somethi
I'd go for number two since it's much easier to read. But I'd still like to match empty strings so I would use:
/".*?"/