Hi Jan,
On Tuesday, October 23, 2001 at 08:24:28 [GMT -0400], you wrote:
JR> I use the following as an intro line in a response template:
JR> %WRAPPED="At %OTIME on %ODATE you wrote the following on
JR> the subject %QINCLUDE='bracket':"
JR> bracket
JR> =%setpattregexp="(?i)\A\:?(\s*\[.*\])?(\s*(re|ha|rcpt|fwd)%-
JR> ^ (\[\d*\])?:\s*)*(.*)"%RegExpBlindMatch="='%OSubj'"%SubPatt="5"
^^^^^^^^^ ???
That is where the extraneous '=' comes from. I don't quite understand
the logic behind ...Match="='%OSubj'". ...Match="%OSubj" should be
enough.
JR> evolves into:
JR> At 1:59 PM on Monday, October 22, 2001 you wrote the
JR> following in regards to ='[tinyfirewall] Re: TPF v2.0.15 -
JR> 100% newbie question':
JR> There's an extraneous '='
See above.
JR> I'd like the results to look like the following:
JR> At 1:59 PM on Monday, October 22, 2001 you wrote the
JR> following on the subject: 'TPF v2.0.15 - 100% newbie
JR> question':
JR> I have a feeling that some of my quote marks are out of
JR> place but I can't figure it out. Any help would be
JR> appreciated.
Try the following as QT 'bracket':
bracket:
%SETPATREGEXP="(?i)^(\s*?\[.*\])?(\s*?(re|ha|rcpt|fwd)(\[\d*\])?\:\s*?)*(.*))"%-
%RegExpBlindMatch="%OSubj"%SubPatt="5"
I made all the * ungreedy, changed that %RegExpBlindMatch part as stated
above and it seems to work now. Not sure what exactly was wrong, though.
Perhaps someone can lighten me up here? (Januk?) ;-)
--
Regards,
Lars
The Bat! 1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2
____________________________________________________________
| Lars Geiger | <mailto:[EMAIL PROTECTED]> |
--
______________________________________________________
Archives : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]