Y
Hacker News
new
|
ask
|
show
|
jobs
by
staticassertion
1725 days ago
It solves the problem like 99% of the time in my experience. It's very rare that I have content with both single and double quotes.
1 comments
usrusr
1724 days ago
That's exactly my point: 99% solutions are the worst. Every 99% solution will eventually find someone relying on it, willingly or not. And it's always someone else cleaning up the mess (or failing to find the cause).
link
n_e
1722 days ago
There is no mess.
The 99% case is a pretty string. The 1% case is a string with escaped delimiters.
link