Re: help with regular expressions

2003-02-22 Thread tracer
Hello Task Control,
On Sat, 22 Feb 2003 03:02:49 -0400 GMT your local time,
which was Saturday, February 22, 2003, 2:02:49 PM (GMT+0700) my local time,

Task Control wrote:

> Estimados seguidores del tbdev arroba thebat.dutaint.com

>   Hi, i'm working in a regular expresions (regex's) filter in vampire,
>   i use the freeware TRegExpr, avalaible in http://anso.da.ru

>   The regex's are complete new for me. I discover it today :-) and i
>   have the nexts questions.

>   To procces the texts of the mails in vampire, i use first the
>   uppercase function (i.e: uppercase(GooGLe) = GOOGLE), my questions
>   are:

>   - what happened if i applied uppercase function to a regular
>   expression. ¿it's will work fine?
>   - ¿what is better?
> a. tell to plug'in user: your mails will be converted to a
> "uppercase letters" to be processed. Make your regex's filters
> accord this.
> b. in silence convert the expresions and mail texts to uppercase.
>   - did you like see a regex's filter in vampire?

option b.
Better to have actual logistics under control without user having to
know or being eble to mess it up.

Note I am looking here at 2 options both which will work but I think b
will produce you less unwanted mailfrom users with problems.
  
>   ¿anyone knows a good regular expresions guide? please reply with the
>   url.

If you never used them I wonder when the plugin will support it(g).
The bat has regular expressions but most of the ones being used by
those on the lists were produced by a few people...
Essentially most people arent that mathematically inclined to write
them and those who can, likely can  produce your wanted filters while
having a coffee..


-- 

Best regards,
 
tracer

Using The Bat! v1.63 Beta/7 on Windows XP 5.1 Build  2600
Service Pack 1



Current version is 1.62 | "Using TBDEV" information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: help with regular expressions

2003-02-22 Thread Leif Gregory
Hi Task,

On Sat, 22 Feb 2003, at 03:02:49 [GMT -0400] (which was 12:02 AM where
I live) you wrote:
TC> Hi, i'm working in a regular expresions (regex's) filter in
TC> vampire, i use the freeware TRegExpr, avalaible in
TC> http://anso.da.ru

One thing that should help using regexps, is the case I mentioned once
before where I was receiving a lot of SPAM with similar to the below:

"To be re move d from fu ture e mail ings cli ck here"

With regexps, we can have it ignore whitespaces (space, tab etc). That
should help out considerably if Bayesian filtering catches on, because
it's the only way I can foresee them being able to send you their
message without inventing a whole new lexicon (short of just
misspelling everything).

Speaking of which.. Everyone has put the @thebat.dutaint.com as a
PARTIAL word in the KLUDGES of the SECURE tab right? If you don't do
something to that effect, since we are discussing SPAM and word lists,
they'll be caught by the PACSPAM plugin. By doing that, it covers all
the lists except for TBOT, but here's my PARTIAL words list for
KLUDGES on the SECURE tab:

@thebat.dutaint.com
[EMAIL PROTECTED]
TBLH
@silverstones.com

The last two are for another list I run, and for list moderation of
the TB lists that Marck has set up, so you probably don't need those
last two.


-- 
Cheers,
Leif Gregory 

List Moderator (and fellow registered end-user)
PCWize Editor  /  ICQ 216395  /  PGP Key ID 0x7CD4926F
Web Site 
TB FAQ   
Using The Bat! 1.63 Beta/6 under Windows 2000 5.0 Build 2195 Service Pack 3 
on a P4 1.6Ghz OC'd to 2.32Ghz with 512MB.

Tagline of the day:
Where are we going and why am I in this handbasket?





Current version is 1.62 | "Using TBDEV" information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: help with regular expressions

2003-02-22 Thread Marck D Pearlstone
Hi Task,

@22-Feb-2003, 03:02 -0400 (07:02 UK time) Task Control said:

>   To procces the texts of the mails in vampire, i use first the
>   uppercase function (i.e: uppercase(GooGLe) = GOOGLE), my
>   questions are:

>   - what happened if i applied uppercase function to a regular
>   expression. ¿it's will work fine? -

Don't. It won't work fine. The RegEx must be passed unmodified raw
text and let the analysis routines within RegEx do their own case
conversion.

> ¿what is better? a. tell to plug'in user: your mails will be
> converted to a "uppercase letters" to be processed. Make your
> regex's filters accord this.

No.

> b. in silence convert the expresions and mail texts to uppercase.

No.

Best to say "If an expression is regex leave the case unmodified".

> - did you like see a regex's filter in vampire?

Yes.

> ¿anyone knows a good regular expresions guide? please reply with
> the url.

http://www.silverstones.com/thebat/RegEx.html and TheBat help file.

-- 
Cheers -- .\\arck D Pearlstone -- List moderator
TB! v1.63 Beta/7 on Windows 2000 5.0.2195 Service Pack 2
'


smime.p7s
Description: S/MIME Cryptographic Signature

Current version is 1.62 | "Using TBDEV" information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: help with regular expressions

2003-02-21 Thread Jonathan Angliss
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> b. in silence convert the expresions and mail texts to uppercase.
>   - did you like see a regex's filter in vampire?

I'm not any good at regex, but I do not think you can do that, for example
\d isn't the same as \D.  Making the regex all uppercase will result in
some very unusual results.  Just as a second point, I think using regex,
you can pretty much ignore case if done right... but you'd have to see what
the more experienced people say.

If you take a look at the TBUDL footer (and this list too?), there is a
link to the TBUDL info pages.  On that page is a good documentation on
regexp.  It might be work a read (the 4 "books") before you start playing
with this.

- -- 
Jonathan Angliss
([EMAIL PROTECTED])

-BEGIN PGP SIGNATURE-
Comment: Fingerprint: 676A 1701 665B E343 E393  B8D2 2B83 E814 F8FD 1F73

iQA/AwUBPlchoCuD6BT4/R9zEQIvXwCfe1CfPo7OkGaNOAHd42HDyHuqE8YAoJS8
8UruP1ozHzTSN4McS6p9SpDA
=GYj5
-END PGP SIGNATURE-




Current version is 1.62 | "Using TBDEV" information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: help with regular expressions

2003-02-21 Thread Stefan Tanurkov
Good [morning|afternoon|day|evening|night]  Task,

TC>   ?anyone knows a good regular expresions guide? please reply with the
TC>   url.

Well, the PCRE guide is a part of The Bat! help ;-)
Just look under "Advanced usage topics" - you will find it...

-- 
All the Best!
 Stefanmailto:[EMAIL PROTECTED]

...Do radioactive cats have 18 half-lives?



Current version is 1.62 | "Using TBDEV" information:
http://www.silverstones.com/thebat/TBUDLInfo.html


help with regular expressions

2003-02-21 Thread Task Control
Estimados seguidores del tbdev arroba thebat.dutaint.com

  Hi, i'm working in a regular expresions (regex's) filter in vampire,
  i use the freeware TRegExpr, avalaible in http://anso.da.ru

  The regex's are complete new for me. I discover it today :-) and i
  have the nexts questions.

  To procces the texts of the mails in vampire, i use first the
  uppercase function (i.e: uppercase(GooGLe) = GOOGLE), my questions
  are:

  - what happened if i applied uppercase function to a regular
  expression. ¿it's will work fine?
  - ¿what is better?
a. tell to plug'in user: your mails will be converted to a
"uppercase letters" to be processed. Make your regex's filters
accord this.
b. in silence convert the expresions and mail texts to uppercase.
  - did you like see a regex's filter in vampire?
  
  ¿anyone knows a good regular expresions guide? please reply with the
  url.

-- 
Se despide,
 Task Control 
   mail: TaskControl at SoftHome dot net
 correo: TaskControl arroba SoftHome punto net

Usando: 
- Windows 98 4.10.1998 
- AVG 6.0 Free Edition
- The Bat! 1.63 Beta/7
- Trillian PRO 1.0 B




Current version is 1.62 | "Using TBDEV" information:
http://www.silverstones.com/thebat/TBUDLInfo.html