Thread View: news.software.readers
55 messages
55 total messages
Page 2 of 2
Started by Mike Vanecek
Fri, 02 Jul 2004 17:43
Page 2 of 2 • 55 total messages
Re: [slrn] Scoring Problem
Author: Tech Zero
Date: Sun, 11 Jul 2004 21:23
Date: Sun, 11 Jul 2004 21:23
43 lines
3164 bytes
3164 bytes
The voice of "Mike Vanecek" drifted in on the cyber-winds,
from the sea of virtual chaos...
>> Ok, brain fart...
>> How about "\([a-wyz]\)\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.
It should still work, since "[a-wyz]" is a single expression...
>> 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.
So the above works?
>> 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 don't think s-lang supports "\d" (any digit)...
"+" is one or more of the previous entry (supported)
"$" is to test the entries at the end of the string (supported)
So "[ ][0-9][0-9][0-9]+$" will test for the presence of 3 or more
numbers at the end of the subject (often found on spam posts).
--
The Tech Zero, Maxx "What's That Score" Pollare...
Re: [slrn] Scoring Problem
Author: Allodoxaphobia
Date: Sun, 11 Jul 2004 22:29
Date: Sun, 11 Jul 2004 22:29
25 lines
2285 bytes
2285 bytes
On 11 Jul 2004 21:23:30 GMT, Tech Zero hath writ:
> The voice of "Mike Vanecek" drifted in on the cyber-winds,
> from the sea of virtual chaos...
>
>>> 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 don't think s-lang supports "\d" (any digit)...
<quote>
...
In addition the following extensions are also supported:
\c turn on case-sensitivity (default)
\C turn off case-sensitivity
\d match any digit
\e match ESC char
<\quote>
Jonesy
--
| Marvin L Jones | jonz | W3DHJ | linux
| Gunnison, Colorado | @ | Jonesy | OS/2 __
| 7,703' -- 2,345m | config.com | DM68mn SK
Re: [slrn] Scoring Problem
Author: Tech Zero
Date: Mon, 12 Jul 2004 05:05
Date: Mon, 12 Jul 2004 05:05
24 lines
2379 bytes
2379 bytes
The voice of "Allodoxaphobia" drifted in on the cyber-winds,
from the sea of virtual chaos...
>>>> 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 don't think s-lang supports "\d" (any digit)...
>
> <quote>
> ...
> In addition the following extensions are also supported:
> \c turn on case-sensitivity (default)
> \C turn off case-sensitivity
> \d match any digit
> \e match ESC char
> <\quote>
OK... So it's just "\s\d{3,}$" -> "[ ]\d\d\d+$"
--
The Tech Zero, Maxx "What's That Score" Pollare...
Re: [slrn] Scoring Problem
Author: Thomas Schultz
Date: Tue, 13 Jul 2004 21:11
Date: Tue, 13 Jul 2004 21:11
9 lines
1555 bytes
1555 bytes
* Mike Vanecek [2004-07-09 15:03] : > I have grep, egrep, zgrep -- but no rgrep. Off to google ... It comes with the editor jed. -- Thomas Schultz <tststs@gmx.de> News on slrn: http://slrn.sf.net/news.html .-----------------------------. [2003-08-25] Released slrn 0.9.8.0 | Home of the slrn newsreader | [2003-08-19] New slrn FAQ available | http://slrn.sourceforge.net | [2003-07-31] First beta with offline reading
Page 2 of 2 • 55 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads