Article View: news.software.readers
Article #152204Re: [OT] Help with regex please [uncancelled post]
From: Tech Zero
Date: Wed, 21 Jul 2004 11:21
Date: Wed, 21 Jul 2004 11:21
48 lines
2623 bytes
2623 bytes
The voice of "Mozzy" drifted in on the cyber-winds,
from the sea of virtual chaos...
>> Unlike "Binky" & "Murry", I quite certain you're using a
>> hacked version of Xnews, so the following would work:
>>
>> \w{23}\.jpg\b
>
> I am asking about regex as used by Newsbin Pro.
OK... So Your not using Xnews... };8)
This will help: http://www.newsbin.com/regexp.htm
It doesn't say if it uses PRCE, but it looks the same. If the above
doesn't work (with "'" as the escape character), then try this:
([a-zA-Z1-9]){23}'.jpg
> BTW why would the regex you give work with a hacked version but
> not a non-hacked version of a program?
You thinking "Exclusive OR", when I was writing just "OR"... };8)
>>> jpg$ = jpg at end of string
>>
>> There is often a spaces after the file names on most Usenet
>> spam, so this won't work ether.
>
> Interesting point. Aren't the trailing spaces stripped out by
> either the newsreader or the operating system?
Not in headers, and only in body of OE posted messages AFAIK...
>>> \$jpg = jpg at end of string
>>
>> Never seen before; it's not PCRE, so it doesn't work in Xnews.
>>
>>> \Zjpg = jpg at end of name
>>
>> Again, it's not PCRE...
>
> Does PCRE = "proper 'C' regeular expression" ?
Perl Compatible Regular Expression; it's what Xnews uses.
--
The Tech Zero, Maxx "What's That Score" Pollare...
Technical Details
Message-ID:
<Xns952D367CD3B64ZeroOne@news.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.sjc.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<952C722D5471651A7E@130.133.1.4> <Xns952DE01A56C2ZeroOne@news.individual.net> <952D68F7AE9C951A7E@130.133.1.4>Show Full Headers
Complete Article Headers
Message-ID: <Xns952D367CD3B64ZeroOne@news.individual.net>
Subject: Re: [OT] Help with regex please [uncancelled post]
Date: Wed, 21 Jul 2004 11:21:22 +0000
From: Tech Zero <july-spamail@dragonfur.ca>
References: <952C722D5471651A7E@130.133.1.4> <Xns952DE01A56C2ZeroOne@news.individual.net> <952D68F7AE9C951A7E@130.133.1.4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.sjc.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Lines: 48
X-Trace: news.uni-berlin.de S3HOBFk54G/N/kQCYJ701gksVKNFHlNz8XIwe6DG5+JaJncIML
User-Agent: Xnews/06.01.10
X-No-Archive: yes
X-Face: }2a:86~fids1(+)NSk]$?SqH(7<%l,URI]qy%%.4O]rYF&7aeXt,vC%i`TGlSWHr&v]amN[1^X"p0$?&3`az-l>nq\y5}ADu+TJ%\{[)`H"X}yx`zpMe^V*JyI~)WcA-6Mb#Qh>}?{cyxK!"G\#"I5&H\FrFy[c9usZ<#'"nvV[;
34_qR9](uXc,NLS?JRGg/.&1=