Hi MAU,
On Fri, 19 Sep 2003 11:18:51 +0200, MAU wrote
> Wow! I may even be learning! ;-)
Amazing. ;-)
> Just curiosity, how would you modify 'print_recipient'? Or perhaps you
> mean modifying 'Recipient list'?
The relatively easy modification is in print_recipient. It would be possible
to add a %IF statement to the Recipient List template to control that last new-
line. It is straightforward, but it needs a couple of lines instead of a
couple of characters.
To get rid of the new line through the print_recipient template, just add the
three characters "\s*" (without quotes) immediately before the "\Z" in the
regexp. In other words, make the line look like:
%SetPattRegexp="^(?s)\s{%_RL_Num_Space}(.*?)\s*\Z"%-
Note, I really made two changes. I also made the "any character" match (.*)
ungreedy so that it doesn't compete with the "whitespace character" (\s*) match.
--
Good luck,
Januk
________________________________________________________
http://www.silverstones.com/thebat/TBUDLInfo.html