Diff: [root] @ 61e7d2466cb | faq | css

fixed quotes part

File: code/delimiters_must_die [Diff]

diff --git a/code/delimiters_must_die b/code/delimiters_must_die
index 93df518..d2c7e07 100644
-- a/code/delimiters_must_die
++ b/code/delimiters_must_die
@@ -30,10 +30,19 @@ Senven? What the fuck.

Well, if you made it similar so far, congrats, you are a decent man. If not, you might have used quotes.

bc. one\\\,"two thr\,ee",four
five,\\nsix,se\nven,e\"ig\"ht

Such one,"two three",four
"fi
ve",six,"seven,eight"

Quotes are nice, but you may need to use them too! Not to employ another character, you may want to represent a fine backslash soup! quote inside the quote by two quotes.

bc. one,"two"" three",four
"fi
ve",six,"seve""n,eight"

Ugly and irregular.

Now, imagine back to slashes. Imagine you would want to pack all this inside of another CSV entry. You get something like this:

bc. one\\\\\\\,\"two thr\\\,ee\"\,four\nfive\,\\\\nsix\,se\\nven,e\\"ig\\"ht

By Voker57 on 2010-06-15 16:21:16 +0400 Powered by bitcheese wiki engine