X
X
Xtone2020-05-21 19:41:09
C++ / C#
Xtone, 2020-05-21 19:41:09

Why raw strings don't compile?

Faced some misunderstandings when trying to write a regular expression. I write R"\(test\)" and it doesn't compile for me. Or swallows brackets. What's the problem then? I'm just escaping them for regex. This escaping is not for C++. That's why I wanted to use this very R. Or is it spelled differently here? Tell. I'm a total noob at pros. =(

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question