The fact is that "\\" is a single bekslesh. Try "\\\\" .
In C ++, in string literals \ is a special escape character: it does not mean itself, but simply modifies the value of the character following it. For example, \n means not Bexlesh and the character n , but a newline, a character with the code 0x10.
Therefore, by itself, bexlesh does not mean bexlesh. To enter bekslesha you need to use \\ .
You can check the length of the string "\\\\" , it is equal to 2. (Check: http://ideone.com/DhxHe8 )
This, by the way, is probably the reason for the editorβs strange behavior towards double bekslesh.