subpattern returned by %REGEXPTEXT

2003-10-02 Thread Michael L. Cusac
the string *** GMX Spamverdacht *** which GMX may or may not have prepended to the original subject. I thought that %REGEXPTEXT captured the highest numbered subpattern, in this case 2, but it seems to be capturing subpattern 1. I have read the help, and looked through Gerd Ewald's regex tutorial again

Re: subpattern returned by %REGEXPTEXT

2003-10-02 Thread Gerd Ewald
Good evening Michael L. Cusac ! On Thu, 2 Oct 2003 10:47:02 -0500 GMT your local time, which was 02.10.2003, 17:47 (GMT+0200) where I live, you (Michael Cusac) wrote in mid:[EMAIL PROTECTED]: I thought that %REGEXPTEXT captured the highest numbered subpattern, in this case 2, but it seems

Re: subpattern returned by %REGEXPTEXT

2003-10-02 Thread Martin Webster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Michael, MLC I have read the help, and looked through Gerd Ewald's regex tutorial MLC again, but I'm afraid my head is spinning a bit. From playing with MLC things, ISTM that %REGEXPTEXT will return subpattern 0 if that is the MLC only one

Re: subpattern returned by %REGEXPTEXT

2003-10-02 Thread Martin Webster
, ISTM that %REGEXPTEXT will return subpattern 0 if that is the MLC only one matched, and will return subpattern 1 if more than one MLC subpattern is matched. Do I have this right now? And if I want to MLC capture a subpattern other than 0 or 1 I will have to use MLC %SETPATTREGEXP, %REGEXPBLINDMATCH

Re: subpattern returned by %REGEXPTEXT

2003-10-02 Thread Michael L. Cusac
On Thu, 2 Oct 2003, Gerd Ewald wrote to TBUDL: I thought that %REGEXPTEXT captured the highest numbered subpattern, in this case 2, but it seems to be capturing subpattern 1. I'm quite sure it does. Try this: ^subject:\s(?:\*\*\*\sGMX\sSpamverdacht\s\*\*\*\s)?(.*?)$ This escapes the first

%REGEXPTEXT

1999-10-30 Thread Giamma
Hello all, I`m trying to use REGEXP macro, but I can`t get a result... Someone can write a %REGEXPTEXT= macro that quote a message until myText? I`ve tryed with something like "/s.*mytext" but it seems doesn`t work. TIA! -- Ciao! G