help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: string-match bug?


From: Kevin Rodgers
Subject: Re: string-match bug?
Date: Wed, 09 Dec 2009 20:05:15 -0700
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Andreas Röhler wrote:
Aren't

(string-match "" "a")

and

(string-match "" "")

different cases in some perspective?

The return value is censured being a position.
Second case is plausible, there is an empty string at pos 0.

First has no empty string at pos 0.

Actually, it has an infinite number of empty strings at position 0
-- and at every position.

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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