Characters array in CodinGame contests

Hello everybody,
To split a sentence to words, according to the punctuation, I use this :


		char[] sep = { '.', ' ', '!', '?', '\'' };

In Visual Studio this works jolly good, but during a code clash on CodinGame the last separator was refused, incorrect escape sequence.
Are there any different criteria that perhaps could suffer from an error ?
Words with even number of characters in uppercase

try next:
var arr = “. !?\’”.ToCharArray();

I did that since I asked the question, thanks.
It is more quickly typed, and to a certain extent perhaps more readable.