Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Muttley@DastartdlyHQ.org Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Command Languages Versus Programming Languages Date: Thu, 21 Nov 2024 08:15:41 -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> Injection-Date: Thu, 21 Nov 2024 09:15:41 +0100 (CET) Injection-Info: dont-email.me; posting-host="2e0de010e7fdf12514a4fb3f342f347e"; logging-data="606381"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OdbPCEDA6yVBEdnYcFGT+" Cancel-Lock: sha1:fVgmoQJrSLE/uQ04XprMa2hUjKo= Bytes: 1697 On Wed, 20 Nov 2024 21:43:41 -0000 (UTC) Lawrence D'Oliveiro boring babbled: >On Wed, 20 Nov 2024 12:27:54 -0000 (UTC), Muttley wrote: > >> Edge cases are regex achilles heal, eg an expression that only accounted >> for 1 -> N chars, not 0 -> N, or matches in the middle but not at the >> ends. > >That’s what “^” and “$” are for. Yes, but people forget about those (literal) edge cases.