Sujet : Re: Command Languages Versus Programming Languages
De : Muttley (at) *nospam* DastartdlyHQ.org
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 21. Nov 2024, 09:15:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vhmq7d$ig5d$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
On Wed, 20 Nov 2024 21:43:41 -0000 (UTC)
Lawrence D'Oliveiro <
ldo@nz.invalid> 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.