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

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

Re: Allowing spaces in the regexp for outlines


From: Emanuel Berg
Subject: Re: Allowing spaces in the regexp for outlines
Date: Thu, 21 Mar 2024 20:52:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Heime wrote:

>> Have attempted the following without success
>> 
>> (";;;\\[[:space:]]+H1" . 1)
>> 
>> (";;;\[[:space:]]+H1" . 1)
>> 
>> (";;;[[:space:]]+H1" . 1)
>
> And now as well with
>
> (";;;\\([[:space:]]+\\)H1" . 1)

Try `eval'ing the REs like below to confirm they work or not.

Because if and when they do, and it still doesn't work,
something else is up.

(re-search-forward (format "%s\\{3\\}[[:blank:]]*H1" comment-start))

(re-search-forward ";;; *H1")

;;; H1

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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