🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #151522

Re: [slrn] Scoring Problem

#151522
From: Mike Vanecek
Date: Sat, 10 Jul 2004 15:28
49 lines
2962 bytes
On 10 Jul 2004 08:39:07 GMT, Tech Zero wrote:
>> The voice of "Mike Vanecek" drifted in on the cyber-winds, 
>> from the sea of virtual chaos...

>>> I have not been able to get {n} or \{n\} to work in slang. Either
>>> I am doing it incorrectly or it is not supported as well.

>>> Hence, I am not sure how one would do 5 or more repeated
>>> characters except x. Also, grouping seems to require \(....\)?
>>> Actually, I am not sure how I would do any of the repeating
>>> patterns. 

>> Desn't seen to be suported in s-lang... Oh well...


> Ok, brain fart...
>   How about "\([a-wyz]\)\1\1\1\1\1"?

I will have to test it a bit more, but could not get that to work correctly.
Not sure what this means from the manual

However, in the current implementation, 
  the grouping operators are not used to group regular expressions to form a 
  single regular expression. Thus expression such as "\(hello\)*" is not a
  pattern to match zero or more occurances of "hello" as it is in e.g., egrep.

> So something like "(\w\W\s?){7}" would translate to:

>   Subject: \C[a-z][^a-z] ?[a-z][^a-z] ?[a-z][^a-z] ?[a-z][^a-z] ?[a-z][^a-z] ?[a-z][^a-z] ?[a-z][^a-z] ?

> (Does s-lang support "not within" brackets?)

Don't know. It is not listed as being supported explicitly in the doco. I
guess it is one more thing to test. Thus far, if it does not say it is
supported, I have found it is not supported. 

> And "\s\d{3,}$" could translate as:

>   Subject: [ ][0-9][0-9][0-9]+$

or maybe \ \d\d\d+$  not sure what the +$ will do though??

> I think I'm getting the hang of this "s-lang" stuff.  };8)



-- 
  Thanks, Mike.
Technical Details
Message-ID: <o3e5s1-b9p.ln1@news.invalid.99computer>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!216.40.28.10.MISMATCH!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <uvigr1-elj.ln1@news.invalid.99computer> <slrncebcfq.tos.nsr@message-id.wahnes-world.de> <Xns951A8BDE2D306ZeroOne@raven.dragonfur.ca> <rgf0s1-fei.ln1@news.invalid.99computer> <Xns9520943605F9EZeroOne@raven.dragonfur.ca> <1en2s1-ghl.ln1@news.invalid.99computer> <Xns9521807654868ZeroOne@raven.dragonfur.ca> <Xns95218325EBC13ZeroOne@raven.dragonfur.ca> <s9q3s1-nlm.ln1@news.invalid.99computer> <Xns952217B62127CZeroOne@raven.dragonfur.ca> <Xns95221AFAB9383ZeroOne@raven.dragonfur.ca>

Show Full Headers
Complete Article Headers
Message-ID: <o3e5s1-b9p.ln1@news.invalid.99computer>
Subject: Re: [slrn] Scoring Problem
Date: Sat, 10 Jul 2004 15:28:16 +0000
From: Mike Vanecek <MikeV99@privacy.net>
References: <uvigr1-elj.ln1@news.invalid.99computer> <slrncebcfq.tos.nsr@message-id.wahnes-world.de> <Xns951A8BDE2D306ZeroOne@raven.dragonfur.ca> <rgf0s1-fei.ln1@news.invalid.99computer> <Xns9520943605F9EZeroOne@raven.dragonfur.ca> <1en2s1-ghl.ln1@news.invalid.99computer> <Xns9521807654868ZeroOne@raven.dragonfur.ca> <Xns95218325EBC13ZeroOne@raven.dragonfur.ca> <s9q3s1-nlm.ln1@news.invalid.99computer> <Xns952217B62127CZeroOne@raven.dragonfur.ca> <Xns95221AFAB9383ZeroOne@raven.dragonfur.ca>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!216.40.28.10.MISMATCH!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 49
X-Archive: encrypt
User-Agent: slrn/0.9.8.0 (Linux)