Hi Marck D. Pearlstone,
On the Thursday, April 26, 2001, you wrote:
Ai>>>> Question is: "What is wrong here?"
MDP> "Loads, mate"!
Good :) So I didn't ask for nothing :)
JA>>> <snip>
Ai>>>> I tried something like this:
Ai>>>> %SUBJ='%SETPATTREGEXP="(\[MkForum\]\s)(.*)"%REGEXPBLINDMATCH=%text%SUBPATT="2"'
MDP>
%SUBJECT='%SETPATTREGEXP="^(\[MkForum\]\s)?(.*)"%REGEXPBLINDMATCH="%subj"%SUBPATT="2"'
But I was close... Few chars here, few there :)
I badly understood meaning of ""... On the clear now (I hope)
I only needed something like this:
<template translation>
Here's me responding to topic:
"%SETPATTREGEXP="^(\[MkForum\]\s)?(.*)"%REGEXPBLINDMATCH="%subj"%SUBPATT="2""
</template translation>
Ai>> I played around and it seems that they change meaning of expressions a
Ai>> lot... Some explanations would be great...
MDP> Okay:
Wow! This is what I call explanation... TNX a lot!
MDP> %SUBJECT=
MDP> Change the message "Subject" header to something new.
That was not what I wanted, but doesn't metter.. It works :)
MDP> "
MDP> Begin the pattern.
Just to be sure: I have to surround all patterns in pair of ""
those... Right?
MDP> ^
MDP> The pattern starts at the beginning of the string...
This seemed to be greatest part of error... I thought it's assumed to
start from beginning of line...
<sniped some good explanations>
MDP> )?
MDP> End of the first sub-pattern (which may or may not be present).
This is optional or I always must say to check whether or not at least
one pattern exist?
MDP> "
MDP> End the whole pattern.
Also I always missed one "... So that's why...
And again TNX a lot, Marck...
--
Till the next time, all the best...
ANT-ilic
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>
You are subscribed as : archive@jab.org