Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Command Languages Versus Programming Languages Date: Fri, 22 Nov 2024 20:41:21 -0000 (UTC) Organization: A noiseless patient Spider Lines: 12 Message-ID: References: <87edbtz43p.fsf@tudado.org> <0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk> <87a5fdj7f2.fsf@doppelsaurus.mobileactivedefense.com> <86frnmmxp7.fsf@red.stonehenge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 22 Nov 2024 21:41:21 +0100 (CET) Injection-Info: dont-email.me; posting-host="d0640d653b3828f8761808e02c741927"; logging-data="1412007"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kOMlpWK1WtvkmPUpoaimm" User-Agent: Pan/0.161 (Chasiv Yar; ) Cancel-Lock: sha1:fxVWrjR5UBGdt1quDgivK7GxApw= Bytes: 1957 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 .