Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 5 Apr 2000.
Re: Detecting ASCII art in emails

Re: Detecting ASCII art in emails

In article <38e...@news.apk.net>, Wesley Clifford wrote:
>On 4 Apr 2000 19:53:17 GMT, pul...@WPI.EDU (Joshua E Millard) wrote:
>>lower-weighted factor for your heuristic, but in terms of raw efficiency,
>>the pipe and slashes are probably more omnipresent in ASCII art and
>
>Just don't search through any emails pertaining to Unix or Dos.
>
>cat //usr/my_file.txt|grep -i "/[../]"

..or Perl.  Here's a script I posted to comp.lang.perl.misc recently:

  perl -0777pi -e "s%</?a(\\s([^>\"']+|\"[^\"]*\"|'[^']*')*)?>%%ig"

Although come to think of it, telling regexps and ASCII art apart
shouldn't be too hard - the latter tends to have more spaces in it.

-- 
Ilmari Karonen
http://www.sci.fi/~iltzu/

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,c288d57efd7c580d
X-Google-Attributes: gidf996b,public
From: Ilmari Karonen <ilt...@sci.invalid>
Subject: Re: Detecting ASCII art in emails
Date: 2000/04/05
Message-ID: <954...@itz.pp.sci.fi>#1/1
X-Deja-AN: 607095698
References: <38E...@ukc.ac.uk> <8cdh7d$j6t$2...@bigboote.WPI.EDU> <38e...@news.apk.net>
X-Complaints-To: new...@saunalahti.fi
X-Trace: tron.sci.fi 954946558 18586 195.74.0.20 (5 Apr 2000 14:55:58 GMT)
Organization: (dis)Order of the Holy Spoon (or whatever)
User-Agent: postit.pl 0.04
Reply-To: Ilmari Karonen <use...@itz.pp.sci.fi>
NNTP-Posting-Date: 5 Apr 2000 14:55:58 GMT
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2000 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post