chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] "raw" strings


From: Alex Shinn
Subject: Re: [Chicken-users] "raw" strings
Date: Fri, 10 Oct 2008 23:29:57 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin)

Peter Bex <address@hidden> writes:

> On Fri, Oct 10, 2008 at 04:36:02PM +0900, Alex Shinn wrote:
>> Peter Bex <address@hidden> writes:
>> > Could you give an example in which you need this?
>> 
>> As a wild guess, regular expressions?  The syntax of regexps
>> is really horrible for any language which represents them as
>> plain strings.
>> 
>> On the other hand something like Gauche's #/.../ or Ruby's
>> #rx{...} for a regular expression literal would be even more
>> convenient, and potentially allow for the trailing imsx
>> modifiers.
>
> We do have the regex-literals egg... Do you propose adding that to
> core Chicken?

I wasn't proposing adding anything :)

If Chicken switches to irregex, then we can just use SREs
and be rid of the ugliness of regex syntax forever.

-- 
Alex




reply via email to

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