[Top][All Lists]

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

Re: occur "^[^#]" gets next line too

From: Dan Jacobson
Subject: Re: occur "^[^#]" gets next line too
Date: Fri, 10 Oct 2003 06:58:17 +0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Andreas> Dan Jacobson <address@hidden> writes:
>> Well gosh, occur throws in the next line for free:
>> (occur "^[^#]" nil)
>> 79 lines matching "^[^#]" in buffer options.

Andreas> [^#] matches a newline.  If you don't want that fix your regex.

There is no # mentioned in Syntax of Regular Expressions Info page of
Emacs Info.

reply via email to

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