From: Christophe TROESTLER <Christophe.Troestler+ocaml@umh.ac.be>
To: camaradetux@gmail.com
Cc: skaller@users.sourceforge.net, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamlbuild
Date: Mon, 06 Aug 2007 18:19:07 +0200 (CEST) [thread overview]
Message-ID: <20070806.181907.116754013.Christophe.Troestler+ocaml@umh.ac.be> (raw)
In-Reply-To: <666572260708060234q22951768uadb275d4bc498ad8@mail.gmail.com>
On Mon, 6 Aug 2007 11:34:01 +0200, Adrien wrote:
>
> I was debugguing a regular-expression and noticed that \" in a string
> remained as-is and this somehow seems linked to my quotation problem :
> # let a="\"";;
> val a : string = "\""
>
> # let a="\034";;
> val a : string = "\""
>
> Is it expected behaviour? :o
Yes. Your misunderstanding seems to come from the fact that it is
displayed as \" because it is quoted, this the usual quoting rules
apply. But
# "\"".[0];;
- : char = '"'
ChriS
next prev parent reply other threads:[~2007-08-06 16:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-05 23:19 ocamlbuild skaller
2007-08-06 7:36 ` [Caml-list] ocamlbuild Adrien
2007-08-06 9:34 ` Adrien
2007-08-06 12:14 ` David Allsopp
2007-08-06 16:19 ` Christophe TROESTLER [this message]
2007-08-08 4:12 ` Aleksey Nogin
2007-08-09 18:35 ` Nicolas Pouillard
2007-09-05 8:36 ocamlbuild skaller
2007-09-17 11:56 ` [Caml-list] ocamlbuild Nicolas Pouillard
2007-09-17 16:21 ` skaller
2007-09-25 11:45 ` Nicolas Pouillard
2007-09-25 14:19 ` skaller
2007-09-26 8:42 ` Nicolas Pouillard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070806.181907.116754013.Christophe.Troestler+ocaml@umh.ac.be \
--to=christophe.troestler+ocaml@umh.ac.be \
--cc=camaradetux@gmail.com \
--cc=caml-list@yquem.inria.fr \
--cc=skaller@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox