(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
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...
>
> 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
Racket Users list:
http://lists.racket-lang.org/users
Hi the list,
new problem with parsing a string with double quote inside by a
regexp-match function.
When I insert \\" in the pattern, the double quote is interpreted as the
end of the pattern.
Does anyone know how to avoid this?
Thanks in advance.
Ted
Racket Users list:
3 matches
Mail list logo