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

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

Re: [External] : Re: The `^L' appeared in built-in help.


From: Hongyi Zhao
Subject: Re: [External] : Re: The `^L' appeared in built-in help.
Date: Wed, 21 Jul 2021 10:03:23 +0800

On Wed, Jul 21, 2021 at 12:32 AM Emanuel Berg via Users list for the
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
> Hongyi Zhao wrote:
>
> > Another issue: what's the regexp for matching the `^L' in
> > Emacs. I tried with `^.*\^L$' to filter the
> > counsel-unicode-char command's results, but nothing
> > is matched.
>
> ^ in the beginning of a regexp means the beginning of a line.
>
> (search-forward-regexp "^aaa") ; works
>
> aaa
>
> (search-forward-regexp "^aaa") ; DNC
>
>  aaa
>
> (search-forward-regexp "^a^aa") ; works
>
> a^aa
>
> (search-forward-regexp "\\^aaa") ; works
>
> ^aaa
>
> But to answer your question:
>
> (search-forward-regexp " ")

What does this mean? I mean, I don't want to match a blank space here,
as you suggested above.

HY



reply via email to

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