[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string-match bug?
From: |
Andreas Röhler |
Subject: |
Re: string-match bug? |
Date: |
Thu, 10 Dec 2009 20:25:10 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
Frank Fredstone wrote:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> Aren't
>>
>> (string-match "" "a")
>>
>> and
>>
>> (string-match "" "")
>>
>> different cases in some perspective?
>
> You can think of it like this:
>
> If you line up 3 boxes left to right, where among them are there no
> boxes? There are no boxes before the first, between the first and the
> second, between the second and the third and after the last. The first
> place (position left to right) where there are no boxes, is before the
> first (position 0).
>
>
well, isn't the first 0?
before the first would be -1 then?
Andreas
- Re: string-match bug?, (continued)
- Re: string-match bug?, tomas, 2009/12/09
- Re: string-match bug?, Kevin Rodgers, 2009/12/09
- Message not available
- Re: string-match bug?, Stefan Monnier, 2009/12/10
- Re: string-match bug?, tomas, 2009/12/10
- Re: string-match bug?, Andreas Politz, 2009/12/10
- Re: string-match bug?, Kevin Rodgers, 2009/12/10
- Message not available
- Re: string-match bug?, David Kastrup, 2009/12/14
- Message not available
- Re: string-match bug?, Stefan Monnier, 2009/12/09
- Re: string-match bug?, Andreas Röhler, 2009/12/10
- Message not available
- Re: string-match bug?, Frank Fredstone, 2009/12/10
- Re: string-match bug?,
Andreas Röhler <=
- Re: string-match bug?, Juanma Barranquero, 2009/12/10
- Message not available
- Re: string-match bug?, Frank Fredstone, 2009/12/10
- Message not available
- Re: string-match bug?, David Kastrup, 2009/12/14