chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] "raw" strings


From: felix winkelmann
Subject: Re: [Chicken-users] "raw" strings
Date: Fri, 10 Oct 2008 16:13:36 +0200

On Fri, Oct 10, 2008 at 9:16 AM, Peter Bex <address@hidden> wrote:
> On Fri, Oct 10, 2008 at 09:07:59AM +0200, felix winkelmann wrote:
>> Hello!
>>
>> Since escaping backslashes inside string literals can get tedious,
>> I wondered wether a non-escaping string-syntax might be handy.
>> Something like:
>>
>>   #" ... "           (doesn't treat backslashes special, with the
>> exception of \")
>>
>> Any alternative suggestions?
>
> Don't we already have that, as the heredoc syntax?

Heredoc syntax is multiline, which seriously fubars your source formatting
and syntax-highlighting.

>
> Could you give an example in which you need this?
>

regex strings, mostly.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]