matej_suchanek added a comment.

Apparently, all backslashes need to be escaped, which is the actual problem of the error. While \b is backspace character, \c is nothing.

Another error you've got in the query is the backslash in the second literal...

SELECT * { BIND( replace("a\b\c", "\", "\\", "q") as ?test) }
                                   ^

... which escapes the following double quote mark, causes the second argument to be "\", " (notice the syntax highlighting) and makes the number of quote marks unballanced.

After all, what does the "q" stand for?


TASK DETAIL
https://phabricator.wikimedia.org/T197566

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: matej_suchanek
Cc: matej_suchanek, Aklapper, Esc3300, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, Jonas, FloNight, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to