Hello Robin,

Sunday, August 29, 2004, 2:05:07 PM, you wrote:


> On Sun 29 August 2004, 16:09:31 +1000, Jurgen Haug wrote:
>> thank  you!  that  did  the  trick! So this \A:? thingy isn't just looking for a
>> colon at the END? like actually it's :-* RE: and I thought that's the colon it's
>> looking for. This stuff is voodoo.

> The "\A" locks the pattern to the beginning of the text you are
> searching, so "\A:?" matches zero or one colon at the beginning if the
> text. If you then search for ":-\*" further down the pattern, it will be
> looking for a second colon (because \A:? matches the first) followed by a
> dash and an asterisk.

ah, I guess I get it now (for this time). You mean, my mistake was to think 'hey
I am giving him the :-* as a pattern, so I can forget about it, and after that I
started  looking  for  the  colon,  which came later :-* RE: <-- here, BUT regex
couldn't care less about what *I* am thinking, since it will always look for the
first  colon,  no  matter  what pattern I am throwing at it, since this \A thing
tells him to do exactly that! right?

-- 
Best regards,
 Jürgen
:eu-flag3: :de-bw:

"A duck walks into a drugstore and ask the clerk for chapstick. The clerk put the 
chapstick on the counter and says 'that will be $2' The duck replies 'Just put it on 
my bill'"

Using The Bat! v2.12.03, Opera v7.54.3865 on Win.XP.5.1.2600.SP1

* PGP key available on request: send mail with subject 'PGP key request'

Attachment: pgpJpLN5pPAFU.pgp
Description: PGP signature

________________________________________________
Current version is 2.12.00 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to