Boost C++ Libraries: Ticket #12602: C++11 raw string literals with embedded escapes are mislexed https://svn.boost.org/trac10/ticket/12602 <p> Raw string literals are partly intended to make it easier to write strings that would otherwise require extensive escaping - e.g., regular expressions. Unfortunately Wave seems to get confused when backslashes appear in C++11 raw string literals. For example: </p> <p> R"(A\+)" </p> <p> is parsed by compilers as a string of three characters: A, backslash, and +. Wave lexes this as an unterminated raw string literal followed by six individual character tokens. By contrast: </p> <p> R"(A+)" </p> <p> is correctly parsed as a two-character raw string literal. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12602 Trac 1.4.3 edaskel@… Fri, 11 Nov 2016 03:41:00 GMT attachment set https://svn.boost.org/trac10/ticket/12602 https://svn.boost.org/trac10/ticket/12602 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">rawstrlit_with_escapechars.cpp</span> </li> </ul> <p> A minimal example of the problem </p> Ticket