Hello Carsten, On Tuesday, October 21, 2003 at 18:52 GMT +0200, Carsten Thönges heard voices say:
>> %_COMMENT=_%SETPATTREGEXP="(?is-m)^(((\w{0,5}?(\>\s*)+)?)(.*?)\n(.*)$|\z)"%- > ^_________________________________________________________________ >> %-%-%-%-%-%REGEXPBLINDMATCH="%_COMMENT"%- > ________________________________^ isn't this one interpreted as a > closing bracket? <sigh> Yeah, probably. One time I forget to add the untested disclaimer and of course I miss a subtle thing...dangit. So this seems to work: =====[Begin requote2 QT]===== %REM=' Quote reformatting routine to remove prefixes from quotes. requote2 = recursive engine QT Written by Januk Aggarwal June 2002 Updated for TB v2: October 2003 '%- %- %IF:'%- %SETPATTREGEXP="(?is-m)[^\n]+"%- %REGEXPMATCH="%_COMMENT"'<>'':'%- %- %SETPATTREGEXP="(?is-m)^(((\w{0,5}?((\>\s*)+))?)(.*?\n)|\z)"%- %REGEXPBLINDMATCH="%_COMMENT"%- %REM=_%SUBPATT="4"_%- %SUBPATT="6"%- %- %_COMMENT=#%SETPATTREGEXP="(?is-m)^(((\w{0,5}?(\>\s*)+)?)(.*?)\n(.*)$|\z)"%- %-%-%-%-%-%REGEXPBLINDMATCH="%_COMMENT"%- %-%-%-%-%-%SUBPATT="6"#%- %- %QINCLUDE="requote2"'%- =====[ End requote2 QT]===== -- Thanks for writing, Januk Aggarwal ________________________________________________________ http://www.silverstones.com/thebat/TBUDLInfo.html