Article View: news.software.readers
Article #164176Re: [slrn] Need help with score regexp
From: DC
Date: Sat, 19 Mar 2005 22:47
Date: Sat, 19 Mar 2005 22:47
44 lines
2698 bytes
2698 bytes
Faux_Pseudo wrote:
> _.-In news.software.readers, DC wrote the following -._
>> I am trying to devise a regular expression that will match x or more
>> consecutive occurrences of any character, except digits.
> These are all basic regexes.
>> Subject: Heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeelp!
> All of these are untested.
> Subject: .{4,}
> That will match 4 or more of anything.
> Subject: [[:alnum:]]{4}
> That will match any a-z and 0-9
>> - 4 or more special chars like ~!@#$%^&*()-_=+[]{}|\/;:'"`<>,.?
> Subject: [~!@#\$\%^&\*()-_=+\[\]{}|\\/;:'"`<>,\.\?]{4,}
> I /think/ that will do it. But I may not have all the escapes that
> are really needed.
Thanks, I'll have a look at these. Sorry I took so long to get back to
you. I accidentally marked your message read and forgot about it. }:O)
>> PS: A link to an excellent online reference/tutorial for writing s-lang
>> regexps would be very welcome, also.
><url:www.macroexpressions.com/doc/snob/snobre.htm>
> I think it might be time to rewrite the score FAQ for slrn. It is
> good for basics but there should be an advanced score FAQ.
> Yes, yes I know. I can write it. But not today.
Aw.
--
DC Linux RU #1000111011000111001
Customize Xnews - http://dcicons.fateback.com
Technical Details
Message-ID:
<slrnd3pavq.tfn.dcmoose@moosemeat.ca.INVALID>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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrnctrh9i.hsh.dcmoose@moosemeat.ca.INVALID> <9_FDd.21443$sf5.13540@lakeread05>Show Full Headers
Complete Article Headers
Message-ID: <slrnd3pavq.tfn.dcmoose@moosemeat.ca.INVALID>
Subject: Re: [slrn] Need help with score regexp
Date: Sat, 19 Mar 2005 22:47:22 +0000
From: DC <dcmoose@myrealbox.com>
References: <slrnctrh9i.hsh.dcmoose@moosemeat.ca.INVALID> <9_FDd.21443$sf5.13540@lakeread05>
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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://dcicons.fateback.com
Lines: 44
X-Trace: individual.net UA7Q0Z3Fgn6I8xprMrh1ugOBCEQIRgZMvGXJJB3VX1PwCVI82F
X-Operating-System: Mandrake Linux 10.0 (Kernel 2.6.3-7mdk)
X-Message-Flag: This message violates the USA PATRIOT Act (HR 3162),
section 811(c). Intercepted by CARNIVORE/3.0
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
X-Face: 6k$Xf_V^i#2X;
X~[=Ra6mGRtOw!^s%HmaNj1y5a>YCL"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x"fqU\H_Fy5tk8h[Iq/XW~okpDvCa\E~!fb]{H4j@CxE<vL?4q9cxiK5;
ZdpI@,Bk)(\e67mAw; L}WCZ/NYSX|R6Jj{omL6KT/$
User-Agent: slrn/0.9.8.1 (Linux)