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


Groups > comp.lang.python > #197248

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

Path csiph.com!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!usenet.inf.ed.ac.uk!.POSTED!not-for-mail
From richard@cogsci.ed.ac.uk (Richard Tobin)
Newsgroups rec.puzzles, comp.lang.lisp, comp.lang.python
Subject Re: ( Substring function in Python, Lisp) -- [Hijack] contains [hijk]
Date Sun, 16 Feb 2025 00:18:32 +0000 (UTC)
Organization Language Technology Group, University of Edinburgh
Lines 20
Message-ID <voraso$mkp$1@macpro.inf.ed.ac.uk> (permalink)
References <7513d4f4cf89bfd31edda3eb5ed84052@www.novabbs.com>
NNTP-Posting-Host macaroni.inf.ed.ac.uk
X-Trace macpro.inf.ed.ac.uk 1739665112 23193 129.215.197.42 (16 Feb 2025 00:18:32 GMT)
X-Complaints-To usenet@macpro.inf.ed.ac.uk
NNTP-Posting-Date Sun, 16 Feb 2025 00:18:32 +0000 (UTC)
X-Newsreader trn 4.0-test76 (Apr 2, 2001)
Originator richard@cogsci.ed.ac.uk (Richard Tobin)
Xref csiph.com rec.puzzles:26470 comp.lang.lisp:60232 comp.lang.python:197248

Cross-posted to 3 groups.

Show key headers only | View raw


In article <7513d4f4cf89bfd31edda3eb5ed84052@www.novabbs.com>,
HenHanna  <HenHanna@dev.null> wrote:

>A few weeks ago,  i was curious to see What English words contained  (
>abcd...  )  consecutive letters of the alphabet.
>
>         defrag          defg
>         defang          defg
>         defog           defg
>
>         hijack          hijk
>
>________________________________(Is there such a word containing 5
>letters? )

$ 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

-- Richard

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