W3C home > Mailing lists > Public > public-rdf-comments@w3.org > February 2012

Re: Turtle quotation idea unicode

From: Gavin Carothers <gavin@carothers.name>
Date: Fri, 24 Feb 2012 11:23:15 -0800
Message-ID: <CAPqY83ya3TGuSiTb-MvS3TWjmKz5jPYDAxT8oRWDss6qqdhsLA@mail.gmail.com>
To: Henry Story <henry.story@bblfish.net>
Cc: public-rdf-comments@w3.org
On Fri, Feb 24, 2012 at 7:11 AM, Henry Story <henry.story@bblfish.net> wrote:
> This is something I was thinking would be useful in Scala
> for regexps for example, where having to decode the number of backslashes makes a nice notation
> unreadable

I think what your asking for are something like r"" strings in Python.
A string  which is designed for including lots of \s ie, used for
regexps .

Turtle is not a programming language. A new literal syntax simply to
reduce the need to escape \s does not seem like a small change nor a
widely needed one. I'd be happy to be convinced otherwise. If we do
chose to add a new string literal syntax I would recommend NOT using
an existing production (which would change the meaning of existing
Turtle files) and using r"" or another prefix.

Received on Friday, 24 February 2012 19:23:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:59:30 UTC