[racket] regexp with \"
(regexp-match #rx"c\"d" "abc\"def")
and
(regexp-match #rx"c\\\"d" "abc\"def")
seems to work.
On Mon, 22 Oct 2012 16:30:15 +0200, Nadeem Abdul Hamid <nadeem at acm.org>
wrote:
>>
>> When I insert \\" in the pattern, the double quote is interpreted as the
>> end of the pattern.
>>
>
> You have to escape the quote too... " ... \\\" ... "
>
> --- nadeem
--
---------------------------------------------------------
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.hammer at dlr.de