Hello, Alexander. On the sixth April 2007 You wrote:

> Maybe  such  problematich  characters  ould  be  replaced  with  the
> txt2html.regexps parser. Sounds like a job for Konkrad S. :-)

This regexp splits an url into two parts - the first with old url, and
the second, longer with special characters. So, You must click on part
after 'ß'. I think this is a 'safe solution'.

(?i)(HREF.\"(.*?)\"\>.*?\<\/A\>)([^\s\n\<\&\,]*)=\1<A HREF="\2\3">\3</A>

If You prefer one long url use this regexp:

(?i)(HREF.\")(.*?)(\"\>)(.*?)(\<\/A\>)([^\s\n\<\&\,]*)=\1\2\6\3\4\6\5

Both doesn't if national character is a first character after 'www.'.

Informations about txt2html.regexps file are on my page
<http://konrad_sz.republika.pl/tb/txt2html_en.htm>

-- 
Pozdrawiam
Konrad Szkudlarczyk


----------------------------------------------------------------------
Zazdrość o ex- nie zna granic >>>
Zobacz >>> http://link.interia.pl/f1a36


________________________________________________________
 Current beta is 3.98.10 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html
IMPORTANT: To register as a Beta tester, use this link first -
http://www.ritlabs.com/en/partners/testers/

Reply via email to