Article View: news.software.readers
Article #152196Re: [OT] Help with regex please [uncancelled post]
From: Mozzy
Date: Wed, 21 Jul 2004 09:19
Date: Wed, 21 Jul 2004 09:19
47 lines
2012 bytes
2012 bytes
Tech Zero <july-spamail@dragonfur.ca> wrote:
> 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.
BTW why would the regex you give work with a hacked version but
not a non-hacked version of a program?
> That's also assuming you mean any file with 23 random
> characters with a "jpg" extension.
>
Yes.
>
> As for the other "demo" Regex strings...
>
>> jpg = jpg anywhere
>
> Will capturer any word with those three characters, so it's
> not accurate.
>
>> 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?
>
>> \$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" ?
Technical Details
Message-ID:
<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.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>Show Full Headers
Complete Article Headers
Message-ID: <952D68F7AE9C951A7E@130.133.1.4> Subject: Re: [OT] Help with regex please [uncancelled post] Date: Wed, 21 Jul 2004 10:19:07 +0100 From: Mozzy <dem_d@mail.com> References: <952C722D5471651A7E@130.133.1.4> <Xns952DE01A56C2ZeroOne@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.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: 47 X-Trace: news.uni-berlin.de diHfFEH3YbWlj0pxuuVLdAO26s44ZnogGlzJ1pwSDN+jHkNUvV News-Agent: OE 6.00.2800 X-No-Archive: yes