Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: HenHanna Newsgroups: rec.puzzles,comp.lang.lisp,comp.lang.python Subject: Re: ( Substring function in Python, Lisp) -- [Hijack] contains [hijk] Date: Sun, 16 Feb 2025 13:37:11 +0000 Organization: novaBBS Message-ID: <669bfbbb3572823c8ee6d7265a7ff111@www.novabbs.com> References: <7513d4f4cf89bfd31edda3eb5ed84052@www.novabbs.com> <87v7tabai9.fsf@nightsong.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="313732"; mail-complaints-to="usenet@i2pn2.org"; posting-account="4L8HabKtc1alsSAOmk7EUGDHKRhgGhC+6gJMfTsJB0A"; User-Agent: Rocksolid Light X-Rslight-Posting-User: abae1fed5a82111a8790dc84735f550edb4392db X-Face: P#KeQ)CUdd!==@fw~Ms1=,Hb`IWtb6:Mw)x3B=H1BfNC\lz?Nb&)M9}$>?'X7l;CuB}utlJ=PHsRBSG6X>dYZ$[>P]$~+`>@V6$t}hTLoQ7XC~W\>:`B3ALU]SH;d(\MEc}znW8m}-ma&yPFkJ2@KSQrz=!Y;><;6a>z6N+mt`ClCt.PAE 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. ___________How about alphabetically backwards? eponym ponm gifted gfed __________ short Python program for Subseq (with & without using RE) ?