Hi there!

On 18 Dec 99, at 14:41, Dirk Heiser wrote
    about "Re: re's and  regexp's":


> Some Mailing list have the mailinglistname in the Subject. I give an
> example:
> 
> Antwort: Re: [Palm] Antwort: [Palm] Re: [Palm] FlashPro und Palm Update
> 
> how can i strip these [Palm]. If i try
> 
> (Antwort|Antw|Re|Aw|[Palm]|FW)
> 
> this do not work.

Because you had to "escape" the [ and ] symbols, to force TB 
to treat them as "normal" characters. Normally they have some 
special meaning in Regexp. That is, try:

 (Antwort|Antw|Re|Aw|\[Palm\]|FW)

Feel the difference:-)

-- 
SY, Alex
(St.Petersburg, Russia)
http://mph.phys.spbu.ru/~akiselev
--- 
Thought for the day:
  How long a minute is depends on which side of the bathroom
  door you are on.

--- 
PGP public keys on keyservers:
0xA2194BF9 (RSA);   0x214135A2 (DH/DSS)
fingerprints:
F222 4AEF EC9F 5FA6  7515 910A 2429 9CB1 (RSA)
A677 81C9 48CF 16D1 B589  9D33 E7D5 675F 2141 35A2 (DH/DSS) 
--- 


-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

Reply via email to