Postgres text format requires backslashes to be escaped, but inside array literals they must be escaped again, and in Scala of course we also have to escape them so I ended up with "\\\\\\\\" to represent a single backslash, which I think is entirely splendid.
-
-
Replying to @tpolecat
Surely
@propensive has an interpolation library for such issues? Maybe gnr.guitarist" postgres sql here"1 reply 0 retweets 0 likes -
Replying to @jonoabroad @tpolecat
Surely I do! But note that Scala only requires you to escape them in standard single-quoted strings. Triple-quoted or prefixed strings (regardless of the prefix) they don't need escaping. That might get you down to "\\\\".
2 replies 0 retweets 0 likes
As a first step, @tpolecat, I can recommend going through your source code with `sed 's/\\\\\\\\\\\\\\\\/\\\\\\\\/g'`.
1:47 AM - 29 Mar 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.