[WM] Strange behavior with EtText 2.3

Herbert Liechti herbie.thinx.ch
Fri May 10 08:01:01 IST 2002


I Probably found the error in Lists.pm on line 126.


    elsif ($indent == 0 &&
    		s/^((?:From| To| Cc| Date| Subject| Return-Path| Delivered-To|
		Received| Sender| Message-Id| Bounces-To| Errors-To|
		Reply-To| MIME-Version| Content-Type):\s)
		(\S.+)([^<+].+)$/<em>$1<\/em>$2<br \/>/ix)
    {

in the search term are three parenthesis the replace
function referrs only two of theme. When I write

original: (\S.+)([^<+].+)$/<em>$1<\/em>$2<br \/>/ix)
fixed   : (\S.+)([^<+].+)$/<em>$1<\/em>$2$3<br \/>/ix)

everything is working ok.

Best regards Herbie
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Herbert Liechti                                  http://www.thinx.ch
The content management company.         Visit http://www.contentx.ch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the Webmake-talk mailing list