Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197249

Re: ( Substring function in Python, Lisp) -- [Hijack] contains [hijk]

Path csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From Paul Rubin <no.email@nospam.invalid>
Newsgroups rec.puzzles, comp.lang.lisp, comp.lang.python
Subject Re: ( Substring function in Python, Lisp) -- [Hijack] contains [hijk]
Date Sat, 15 Feb 2025 23:43:10 -0800
Organization A noiseless patient Spider
Lines 7
Message-ID <87v7tabai9.fsf@nightsong.com> (permalink)
References <7513d4f4cf89bfd31edda3eb5ed84052@www.novabbs.com> <voraso$mkp$1@macpro.inf.ed.ac.uk>
MIME-Version 1.0
Content-Type text/plain
Injection-Date Sun, 16 Feb 2025 08:43:20 +0100 (CET)
Injection-Info dont-email.me; posting-host="1d98e2c83c9d780a20c3351fcc5a0299"; logging-data="529147"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qZYWVxgEud9XTMEI44LMa"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock sha1:khA8ElC8H8D2drX9D9b5SkbZsEk= sha1:pWCYB3Yd53groshl4z3gsUCvggM=
Xref csiph.com rec.puzzles:26471 comp.lang.lisp:60239 comp.lang.python:197249

Cross-posted to 3 groups.

Show key headers only | View raw


richard@cogsci.ed.ac.uk (Richard Tobin) writes:
> $ awk 'BEGIN {for(i=97; i<=118; i++) printf("%c.*%c.*%c.*%c.*%c\n", i,
> i+1, i+2, i+3, i+4);}' | while read e; do grep -i $e
> /usr/share/dict/words; done

Nice!  That picked up "Kilimanjaro" which my more complicated Python
script missed, because it didn't case-fold.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

( Substring function in Python, Lisp)  --  [Hijack]  contains  [hijk] HenHanna <HenHanna@dev.null> - 2025-02-15 21:36 +0000
  Re: ( Substring function in Python, Lisp)  --  [Hijack]  contains  [hijk] richard@cogsci.ed.ac.uk (Richard Tobin) - 2025-02-16 00:18 +0000
    Re: ( Substring function in Python, Lisp)  --  [Hijack]  contains  [hijk] Paul Rubin <no.email@nospam.invalid> - 2025-02-15 23:43 -0800
      Re: ( Substring function in Python, Lisp)  --  [Hijack]  contains  [hijk] HenHanna <HenHanna@dev.null> - 2025-02-16 13:37 +0000
      Re: ( Substring function in Python, Lisp)  --  [Hijack]  contains  [hijk] richard@cogsci.ed.ac.uk (Richard Tobin) - 2025-02-16 19:02 +0000
  Re: ( Substring function in Python, Lisp) -- [Hijack] contains [hijk] "Carl G." <carlgnews@microprizes.com> - 2025-02-16 11:44 -0800
  Re: ( Substring function in Python, Lisp)  --  [Hijack]  contains  [hijk] HenHanna <HenHanna@dev.null> - 2025-02-17 11:50 +0000
  Re: ( Substring function in Python, Lisp) -- [Hijack] contains [hijk] "B. Pym" <Nobody447095@here-nor-there.org> - 2025-06-06 15:17 +0000

csiph-web