|
From: | Emanuel Berg |
Subject: | Re: [External] : Re: Regexp for matching control character, say, FORM FEED. (Was: Re: The `^L' appeared in built-in help.) |
Date: | Thu, 22 Jul 2021 03:42:57 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Drew Adams wrote: >>> I want to know whether there are some similar regexp >>> patterns in Emacs as the ones used by grep, say, $'\014' >>> or $'\f'. >> >> (re-search-forward "\C-l") > > Yes, or (re-search-forward "[\f]") > or (re-search-forward "[\014]") What about (re-search-forward (kbd "C-l")) ? -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |