[Top][All Lists]

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

Re: Bug in looking-at?

From: Lennart Borgman
Subject: Re: Bug in looking-at?
Date: Mon, 15 Aug 2005 00:39:58 +0200
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Jason Rumney wrote:

Lennart Borgman <address@hidden> writes:

2. Then copy the last (looking-at ...), place point as before and
run with M-S-:.
 It should fail to match again.

Should it fail? If so, then what is the bug?

Richard has replied that he does not see this problem on his system
(GNU/Linux I suppose).

What is the problem? Everything that you said SHOULD happen does, on
both GNU/Linux and W32. So I don't think I see it either.
Hm. Yes, I can see now I misunderstood the [:space:] character class. It was not exactly what I thought. I believed \r and \n belonged to this character class (though I understand it can not).

This explains why the pattern did not match. However it does not explain why it matched later in point 3. I am still so surprised by this that I had to test it once again to be sure.

reply via email to

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