|
From: | Emanuel Berg |
Subject: | Re: [External] : Re: The `^L' appeared in built-in help. |
Date: | Tue, 20 Jul 2021 18:28:26 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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 "") -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |