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


Re[2]: i need better idea to know if a complete word *really it's*a complete word

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


t> would be better if the Bat or email used it...
t> Many programs allas donot use unicode   all the way. One reason why
t> for instance using Thai, Mirc gives a channel display with 
t> instead of text...

If it was so easy The Bat! could support Unicode right from the
start... The reason programs don't support Unicode is because it is
totally screwed under Windows - MS uses different Unicode
implementations for 9x and NT. Programs should rely on 9x
implementation which is a joke. :-(



-- 
Sincerely,
 Stefanmailto:[EMAIL PROTECTED]

...I want my data back, machine, and I want it now!



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


Re: i need better idea to know if a complete word *really it's* acomplete word

2003-02-21 Thread tracer
Hello Kevin J. Menard, Jr.,
On Thu, 20 Feb 2003 17:33:33 -0500 GMT your local time,
which was Friday, February 21, 2003, 5:33:33 AM (GMT+0700) my local time,

Kevin J. Menard, Jr. wrote:

> Hey Task,

> What about using UNICODE instead of ASCII?

would be better if the Bat or email used it...
Many programs allas donot use unicode   all the way. One reason why
for instance using Thai, Mirc gives a channel display with 
instead of text...




-- 

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[3]: Regular expressions in AntiSpam: is it possible?

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

En relación a lo que Alexey en su momento posteó:

ANV>>>...is it possible to use the regular expression machine from
ANV>>>Tne Bat! in a custom antispam filter?..
ANV> I think this is not necessary now at all! I found the reference and
ANV> ready realization on http://www.pcre.org/ (as the pcre.dll, size
ANV> 48kB).
can you explain what are your idea. i was read the pcre documentation
and I don't undertand: "what are you thinking men" please, explain
you.

first question: what is a regular expression.



ANV> If  you want, you can also use it! It makes a life much more easy
ANV> :).  I  think  that  The  Bat  uses  the  same one but statically
ANV> linked...  If  it  is  possible to ask the developers to use this
ANV> library  as  dynamically linked (i.e. as DLL file), then it would
ANV> be possibly to use in a custom plugin without specially deploying
ANV> the dll.
we can make a plug'in that call a dll, and use the dll in the bat!



-- 
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


vampire updated now 0.01c

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

  well, in http://fyberger.tripod.com/vampire/vampire.htm

  changes:
  minor bug solved with complete word search.


-- 
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


Re[4]: i need better idea to know if a complete word *really it's*a complete word

2003-02-21 Thread Stefan Tanurkov
Hi Kevin,

KJMJ> What about using UNICODE instead of ASCII?

Conversion to upper case in Unicode supported only in WinNT family,
so it would make everything tough to a plug-in :-)

A plug-in can extract "raw" information from the message source and
perform decoding by itself...

Besides, it is planned to provide fields in Unicode format...


-- 
Best regards,
 Stefanmailto:[EMAIL PROTECTED]

...Make it idiot-proof and someone will make a better idiot.



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


vampire "to do list"

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

i  was  recibed  a  lot  of mails with extras to vampire, is we put it
here, it's to easy for me develop it.
  
The list begins with:
- use registry of windows and not c:\vampire.ini
- change the rutine to knows is a word really it is a complete word.
- learn about pcre.dll (http://www.pcre.org) and investigate if it can
be use on a plug-in (maybe vampire, maybe another)

-- 
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


Re[2]: vampire first release avalaible

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

En relación a lo que Peter en su momento posteó:

I will use the registry of windows in the nexts releases, maybe in a
week.

PP> I'm  just  curious  if  I  miss  something  when not understanding
PP> "Estimados seguidores del tbdev arroba thebat.dutaint.com"
in english: hello users of tbdev at thebat.dutaint.com

well "Se despide" is "Say bye", "Usando" is "using"
-- 
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


Re[4]: vampire first release avalaible

2003-02-21 Thread Mark Wieder
(Agreeing with Alex here...)

Much as I hate the registry, it *is* the proper place for information
like this. And a much better place than the root directory of any
drive, which is limited to something like 512 files (or directories).

-Mark Wieder

 Using The Bat! v1.63 Beta/4 on Windows 2000 5.0 Build 2195 Service Pack 2
-- 



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


Re[2]: Regular expressions in AntiSpam: is it possible?

2003-02-21 Thread Alexey N. Vinogradov
Hello, Task.
You wrote in 

TC> En relación a lo que Alexey en su momento posteó:

TC>   send the algoritm of your idea and i will make it!

ANV>>...is it possible to use the regular expression machine from
ANV>>Tne Bat! in a custom antispam filter?..

I think this is not necessary now at all! I found the reference and
ready realization on http://www.pcre.org/ (as the pcre.dll, size
48kB). If you want, you can also use it! It makes a life much more
easy :). I think that The Bat uses the same one but statically
linked... If it is possible to ask the developers to use this library as
dynamically linked (i.e. as DLL file), then it would be possibly to
use in a custom plugin without specially deploying the dll.


-- 
Sincerely,
 Alexey.
Using TB 1.63b7 on WinXP SP1 Corp + MUI RU, spelling by ORFO2002
   mailto:[EMAIL PROTECTED]



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


Re: vampire first release avalaible

2003-02-21 Thread Peter Palmreuther
Hi Task,

On Thu, 20 Feb 2003 18:55:10 -0400 Task Control
<[EMAIL PROTECTED]> wrote:

>>>   - only write one file out of directory: "c:\vampire.ini"

>>Why this file is located in root directory of disk C: (or any root
>>directory of any disk)?

>  The problem with the bat! are the execution directory of the plugin
>  some times are the bat directory, another times the plugin directory,
>  and others times a windows\desktop directory

That's bad ... I don't have C:\

C:\ was my old Win98SE, meantime killed.
My currently running Windows if located on F:\

So your best bet would be, if there's no chance to figure out the path
of your DLL at runtime (e.g. as Marck suggested in
, maybe there's
something similar for DLLs), to 

1.) Assume your PlugIn is installed in 
%TheBat-Dir%\Plugins\Vampire
-> Just go and read the Path of The Bat! from registry
2.) If DLL is not found with #1 read an own registry value.
Registry is path independent and therefore should work on any
Windows. Assuming C:\ being present might work in 99% but it no save
way of handling this issue :-/

Just my 0.02 

P.S.: Do you Spanish lines at the beginning of each and every mail (even
  new mails) say something important? I'm just curious if I miss
  something when not understanding "Estimados seguidores del tbdev
  arroba thebat.dutaint.com"
-- 
Pit


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