[Cubicweb] escape for RQL insertion

Dimitri Papadopoulos Orfanos dimitri.papadopoulos at cea.fr
Thu Oct 24 13:56:42 CEST 2013


Le 24/10/2013 12:12, j'ai écrit :
> 1. How to escape the backslash itself?

After some experimentation, it appears:
* The backslash needs not be escaped (inserting as string containing a 
single '\' not followed by a quote results in a string containing '\').
* The backslash can nevertheless be escaped (inserting as string 
containing '\\' results in a simple '\').

-- 
Dimitri Papadopoulos
CEA/Saclay
I2BM, NeuroSpin
F-91191 Gif-sur-Yvette cedex, France



More information about the Cubicweb mailing list