Re[2]: Why does regexpr not work
Hello Roelof, Tuesday, September 7, 2004, 2:02:07 AM, you wrote: First your regular expression is searching for a pattern like this: Fornavn = blabla Efternavn = blabla e-mail: blabla while your getting this: email: blabla Fornavn = blabla Efternavn = blabla So it'll never match. Ah, thanks for your help here. I haven't given it a thought that the order had any importance. Second you're asking three times for the same argument. I am? I guess you might have more luck with this: %To=%To='%SetPattRegExp=_(is?)(.*?)E-mail:\s(.*?)\n(.*?)Fornavn\s\=\s(.*?)\nEfternavn(.{3})(.*?)\n_%- %RegExpBlindMatch=_%Text_%- %SubPatt=_6_ %SubPatt=_8_ %SubPatt=_3_'%- Actually, no, but I guess there is something about SubbPatt that I don't get. How did you find 6, 8 and 3? -- Best regards, Britt http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Why does regexpr not work
Hallo Britt, On Tue, 7 Sep 2004 10:44:43 +0200GMT (7-9-2004, 10:44 +0200, where I live), you wrote: BM Hello Roelof, BM Tuesday, September 7, 2004, 2:02:07 AM, you wrote: First your regular expression is searching for a pattern like this: Fornavn = blabla Efternavn = blabla e-mail: blabla while your getting this: email: blabla Fornavn = blabla Efternavn = blabla So it'll never match. BM Ah, thanks for your help here. I haven't given it a thought that the BM order had any importance. Second you're asking three times for the same argument. BM I am? You were asking three times for %SubPatt=_2_ I guess you might have more luck with this: %To=%To='%SetPattRegExp=_(is?)(.*?)E-mail:\s(.*?)\n(.*?)Fornavn\s\=\s(.*?)\nEfternavn(.{3})(.*?)\n_%- %RegExpBlindMatch=_%Text_%- %SubPatt=_6_ %SubPatt=_8_ %SubPatt=_3_'%- BM Actually, no, That's because I found soemthing that worked, tried something else that didn't and then sent the none working trial. :-( This worked on your original post, in case it doesn't produce the proper result you'd better send an original message to me, preferably mime attached and off list. %To=%To='%SetPattRegExp=_(is?)(.*?)E-mail:\s(.*?)\n(.*?)Fornavn(.{3})(.*?)\nEfternavn(.{3})(.*?)\n_%- %RegExpBlindMatch=_%Text_%- %SubPatt=_6_ %SubPatt=_8_ %SubPatt=_3_'%- BM but I guess there is something about SubbPatt that I BM don't get. The whole pattern is subpatt 1 and everything between parenthesis is an additional subpattern, so you can count them BM How did you find 6, 8 and 3? Counting wise it should have been 5, 7 and 3 in the regexp that I sent, apart from the fact the pattern didn't match and therefore the subpatts didn't produce. ;-) -- Groetjes, Roelof The Bat! 3.0.0.7 Windows XP 5.1 Build 2600 Service Pack 1 1 pop3 account, server on LAN Disclaimer: Any opinion stated in this message is not necessarily shared by my budgies or rabbits. http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: Why does regexpr not work
Hello Roelof, Tuesday, September 7, 2004, 11:51:42 AM, you wrote: Hallo Britt, Nederlands? Second you're asking three times for the same argument. BM I am? You were asking three times for %SubPatt=_2_ Oh ... I understood %SubPatt for each part of the regexp. When I tried (.*?)E-mail:\s(.*?)\n in Dirk Heisers DLL, and there I found the address under %SubPatt 2. The same went for Fornavn and Efternavn. But then I should look at it all, and not parts of it? That's because I found soemthing that worked, tried something else that didn't and then sent the none working trial. :-( That's not logical, captain ;-) This worked on your original post, in case it doesn't produce the proper result you'd better send an original message to me, preferably mime attached and off list. Thank you for this kind offer, because it still doesn't produce the to-address. The whole pattern is subpatt 1 and everything between parenthesis is an additional subpattern, so you can count them Ah, thanks. -- Best regards, Britt http://www.silverstones.com/thebat/TBUDLInfo.html
Mod: Untrimmed reply (was: Why does regexpr not work)
Hallo Roelof, On Tue, 7 Sep 2004 11:51:42 +0200GMT (7-9-2004, 11:51 +0200, where I live), you wrote: RO Hallo Britt, RO On Tue, 7 Sep 2004 10:44:43 +0200GMT (7-9-2004, 10:44 +0200, where I RO live), you wrote: BM Hello Roelof, BM Tuesday, September 7, 2004, 2:02:07 AM, you wrote: moderator Note: This moderator's interjection is a note to all readers and not just to the person being replied to, even if their post may have instigated this reply. Please don't feel singled out Roelof. ' Please trim replies to context. A sure fire indicator that insufficient trimming has been done is that the original signature and list footer remain in the quoted text. To find out why these MOD messages are posted to the list instead of private mail, please read the welcome message you received when you subscribed. Thank you. /moderator -- Groetjes, Roelof The Bat! 3.0.0.7 Windows XP 5.1 Build 2600 Service Pack 1 1 pop3 account, server on LAN Disclaimer: Any opinion stated in this message is not necessarily shared by my budgies or rabbits. http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Why does regexpr not work
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Was Tue, 7 Sep 2004, at 12:19:01 +0200, when Roelof [EMAIL PROTECTED] wrote to himself: instigated this reply. Please don't feel singled out Roelof. ' Hahaha... You wouldn't believe but I had impression these days that you can't wait for doing it to yourself. (-: Nice work btw. - -- Mica -BEGIN PGP SIGNATURE- iD8DBQFBPZtx9q62QPd3XuIRAsVLAJ9FHLqoQkLVsCvld7k/66z+POlqqgCfbhnb e4EWnB5qIQICzCsPd+v+Za8= =K3FD -END PGP SIGNATURE- http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Why does regexpr not work
Hallo Mica, On Tue, 7 Sep 2004 13:51:37 +0200GMT (7-9-2004, 13:51 +0200, where I live), you wrote: MM when Roelof [EMAIL PROTECTED] wrote to himself: instigated this reply. Please don't feel singled out Roelof. ' MM You wouldn't believe but I had impression these days that you can't wait MM for doing it to yourself. (-: I haven't been waiting for that. I'm really a stickler as it come to trimmed replies. And the standards I'm using for myself are way higher than what would be appropriate to send moderator messages flooding the lists. So this really bothered me. MM Nice work btw. You're welcome. -- Groetjes, Roelof The Bat! 3.0.0.7 Windows XP 5.1 Build 2600 Service Pack 1 1 pop3 account, server on LAN Disclaimer: Any opinion stated in this message is not necessarily shared by my budgies or rabbits. http://www.silverstones.com/thebat/TBUDLInfo.html
The Bat User Documentation Project (TBUDP)
Hello TB, Ok.. The TB Wiki site is up and running. Initially, I was going to wait a few days till we got stuff figured out (from an admin perspective on initial configuration, it's expansive), but we really need people to start using it so we can see what modules we need to add to allow people more flexibility. Sometimes we alone can't see all the angles. Head on over, play with it a bit. Don't start shooting us e-mail just yet on any errors you come across (there shouldn't be many) as we're still making changes to how it works in terms of functionality. The site is running on TikiWiki which is very, very impressive so far. The permissions section is huge, so if you get errors, those will most likely be the ones you get (in terms of saying you can't access that module). http://tbudp.pcwize.com Have fun. -- __ ( ) ( ___)(_ _)( ___) TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x6C0AB16B )(__ )__) _)(_ )__) Roguemoticons: http://PCWize.com/thebat ()()()(__)PCWSmileys: http://PCWize.com/thebat/pcwsmileys.php Tagline of the day: If Barbie(tm) is so popular, why do you have to buy her friends? http://www.silverstones.com/thebat/TBUDLInfo.html
TBUDP another way in.
Hello TB, http://tbudp.pcwize.com Just in case the above doesn't work for one reason or another, you can get to it here: http://www.pcwize.com/thebat/tbwiki/ Have fun. -- __ ( ) ( ___)(_ _)( ___) TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x6C0AB16B )(__ )__) _)(_ )__) Roguemoticons: http://PCWize.com/thebat ()()()(__)PCWSmileys: http://PCWize.com/thebat/pcwsmileys.php Tagline of the day: If Barbie(tm) is so popular, why do you have to buy her friends? http://www.silverstones.com/thebat/TBUDLInfo.html