Sujet : Re: Command Languages Versus Programming Languages
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 22. Nov 2024, 21:41:21
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vhqq9g$1b2t7$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Pan/0.161 (Chasiv Yar; )
On Fri, 22 Nov 2024 12:47:16 +0100, Janis Papanagnou wrote:
On 21.11.2024 23:05, Lawrence D'Oliveiro wrote:
>
Another handy one is “\b” for word boundaries.
I prefer \< and \> (that are quite commonly used) for such structural
things ...
“\<” only matches the beginning of a word, “\>” only matches the end,
“\b” matches both
<
https://www.gnu.org/software/emacs/manual/html_node/emacs/Regexp-Backslash.html>.