Hello Arnie
On Wed, 27 Sep 2000 14:54:34 -0400, Arnie wrote:
PS>> (?s)#.*~
PS>> should do it.
A> It does indeed. Thanks for the solution. Unfortunately as I earlier
A> wrote Januk (elsewhere in this thread), I also need to be able to
A> extract the text once found and place it into a reply. I can do this
A> with a single line (using %REGEXPTEXT and RE's), but I'm speculating
A> that multiple lines throw a wrench into the works.
Perhaps i didn't understand exactly the problem, but let me try:
Multiple lines work fine in my reply templates, although for more
control over the matched parts of regexps i usually use
%SETPATTREGEXP, %REGEXPBLINDMATCH and %SUBPATT. If i wanted to place
all text _excluding_ the beginning '#' and the ending '~' in a reply,
my reply template would contain
%SETPATTREGEXP='(?s)#(.*)~'%REGEXPBLINDMATCH='%text'%SUBPATT='1'
If i would have it quoted, it would be
%QUOTES="%SETPATTREGEXP='(?s)#(.*)~'%REGEXPBLINDMATCH='%text'%SUBPATT='1'"
If i misunderstood you, you could provide some more details
HTH
Peter
--
Peter Steiner <[EMAIL PROTECTED]>
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : archive@jab.org