Re: an interesting challenge.

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Joshua Zeidner
Date:  
To: Main PLUG discussion list
Subject: Re: an interesting challenge.
Sorry, I patented the idea of using regular expressions for solving
Technomages problem. You owe me 4 million dollars.

jmz


;you can't expect a linux geek to back down from a regex challenge


On 4/4/06, Jeremy C. Reed <> wrote:
>
> On Tue, 4 Apr 2006, Josh Zeidner wrote:
>
> > josh@zeidner:/usr/share/dict$ perl -n -e 'if ( $_ =~ /\A[bdfeca]+\Z/ )
> > { print "$_" }' < american-english
>
> Be sure to be at least four characters.
>
> > > using bdfeca:
> > > construct word strings in a list using only these letters in any
> > > combination 4 characters or longer. use of the number 1 as a space
> filler
> > > is permitted.
>
> I am not sure what the "space filler" means. I guess it means putting
> multiple words together.
>
> > > example:
> > > dead1beef
>
> Without using any "space filler" ...
>
> $ cat /usr/share/dict/* | egrep -a '^[bdfeca]{4,}$' | sort -u | wc -l
>       56

>
> Jeremy C. Reed
>
> echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss