[Top][All Lists]

[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 (X11/20081227)

Frank Fredstone wrote:
> Andreas Röhler <address@hidden> 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?


reply via email to

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