Boost logo

Boost :

Subject: Re: [boost] [RFC] string inserter/extractor "q u o t i n g"
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2010-06-16 11:56:45


Eric Niebler wrote:
> On 6/16/2010 10:45 AM, Stewart, Robert wrote:
> > Eric Niebler wrote:
> >>
> >> delimit doesn't feel right to me. I prefer quoted. It's
> >> the commonly used term in Perl, for instance. From
> >> dictionary.com
> >>
> >> quote:
> >> ... 5) to enclose (words) within quotation marks.
> >
> > Quotation marks are the default, but the function can be
> > given a different character to surround the text. Wouldn't
> > "quote" be misleading if the specified character were, say,
> > "%"?
>
> Perl, for instance, lets you specify the quote character. I don't find
> that confusing. If I went looking for this function, I'd look for some
> variant of "quote" first. To me, lists are delimited by e.g. commas.

I daresay you'd look for "quote" first because of your experience with Perl. Nevertheless, prior art is not unavailing.

> Even Beman, in his heart, thinks quote is the right term. Look at the
> subject line. ;-)

:)

Even assuming "quote" were generally acceptable, it doesn't connote the escaping behavior in Beman's functions.

_____
Rob Stewart robert.stewart_at_[hidden]
Software Engineer, Core Software using std::disclaimer;
Susquehanna International Group, LLP http://www.sig.com

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk