Re: [racket] regexp with \"

2012-10-22 Thread Tobias Hammer
(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...

Re: [racket] regexp with \"

2012-10-22 Thread Nadeem Abdul Hamid
> > 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

[racket] regexp with \"

2012-10-22 Thread Ted
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: