🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50290

Re: docs on filter_art? Mime tools?

#50290
From: bill davidsen
Date: Mon, 29 Jan 2001 19:46
27 lines
2107 bytes
In article <87elxr481c.fsf@erlenstar.demon.co.uk>,
Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:
| >>>>> "bill" == bill davidsen <davidsen@tmr.com> writes:
| 
|  >> | sub wildmat_to_regex
|  >> | {
|  >> |     my $w = quotemeta shift;
|  >> |     $w =~ s{\\([*?]|\\(\\?.)|\[(?:\\\^)?(?:\\\])?[^]]*\\\])}
|  >> |            {($1 eq '*' ? '.*' :
|  >> | 	           $1 eq '?' ? '.'  :
|  >> | 	           defined($2) ? $2 :
|  >> | 	           do { my $p = $1; $p =~ s/\\([][^-])/$1/g; $p; })}eg;
|  >> |     return $w;
|  >> | }
| 
|  bill>   Practicing for the Obfuscated PERL contest?
| 
AG> that's not obfuscated, it's perfectly clear and readable, indeed
AG> obvious :-)

  Did you ever write APL? LISP?

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"I am lost. I am out looking for myself. If I should come back before I
return, please ask me to wait."  -seen in a doctor's office
Technical Details
Message-ID: <954h9o$30g0$1@newssvr05-en0.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!newsfeed.mathworks.com!nntp.flash.net!newscon06.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsen
References: <G7FGpD.6Fz@world.std.com> <87lms1hkci.fsf@erlenstar.demon.co.uk> <94q5g0$5il0$1@newssvr05-en0.news.prodigy.com> <87elxr481c.fsf@erlenstar.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <954h9o$30g0$1@newssvr05-en0.news.prodigy.com>
Subject: Re: docs on filter_art? Mime tools?
Date: Mon, 29 Jan 2001 19:46:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <G7FGpD.6Fz@world.std.com> <87lms1hkci.fsf@erlenstar.demon.co.uk> <94q5g0$5il0$1@newssvr05-en0.news.prodigy.com> <87elxr481c.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!newsfeed.mathworks.com!nntp.flash.net!newscon06.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsen
Newsgroups: news.software.nntp
Organization: TMR Associates, Schenectady NY
Lines: 26
NNTP-Posting-Host: darkstar.prodigy.com
X-Trace: newssvr05-en0.news.prodigy.com 980797560 98816 192.168.190.236 (29 Jan 2001 19:46:00 GMT)
X-Complaints-To: abuse@prodigy.net
NNTP-Posting-Date: 29 Jan 2001 19:46:00 GMT
Originator: davidsen@darkstar.prodigy.com