emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Re: A suggestion for note headers


From: drkm
Subject: [emacs-wiki-discuss] Re: A suggestion for note headers
Date: Wed, 20 Jul 2005 22:15:34 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (windows-nt)

Chris McMahan writes:

> I've done a quick hack to modify the regexp to search for [[
> instead. Here it is. Quick testing shows that it seems to work ok.

> +  (while (re-search-forward "^\\.#\\([0-9]+\\) [^\[\[\n]+" end t)

  You don't search for "[[".  You search for not any "[" (because
it's a negative character class).

--drkm





reply via email to

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