On Sun, 6 Oct 2002 23:19:36 +0200 (EET) Nerijus Baliunas 
<[EMAIL PROTECTED]> wrote:

NB> If first letters on the next line are tml, ml or l they should probably be
NB> treated as a part of url:
NB> 
NB> http://mail.gnome.org/archives/gnome-hackers-readonly/2002-September/msg00282.ht
NB> ml

On Sat, 19 Oct 2002 16:21:09 +0200 (EET) Nerijus Baliunas 
<[EMAIL PROTECTED]> wrote:

NB> One more - if the last letters are '.asp', the first word on the next line 
shouldn't
NB> be highlighted:
NB> 
NB> 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnucmg/html/ucmglp.asp
NB> didn't read it yet, but could be an interesting introduction for new
NB> Wine developpers

On Fri, 18 Oct 2002 09:27:33 +0200 Xavier Nodet <[EMAIL PROTECTED]> wrote:

XN> On Fri, 18 Oct 2002 01:30:07 +0200 (Romance Daylight Time) Vadim Zeitlin 
<[EMAIL PROTECTED]> wrote:
XN> 
XN> > On Mon, 14 Oct 2002 09:43:11 +0200 Xavier Nodet <[EMAIL PROTECTED]> wrote:
XN> 
XN> > XN> On Sun, 13 Oct 2002 17:19:58 +0200 (EET) Nerijus Baliunas 
<[EMAIL PROTECTED]> wrote:
XN> > XN> 
XN> > XN> > Hi,
XN> > XN> 
XN> > XN> > "!" shouldn't be part of url:
XN> > XN> 
XN> > XN> >> Go take the poll at http://www.clanlib.org!
XN> > XN> 
XN> > XN> You are right.
XN> > ...
XN> > XN> Unfortunately, we do not have a real URL parser: we only look for
XN> > XN> "http://";, and then accept any char that could be part of a URL, not
XN> > XN> taking into account the fact that some of them (like '!') can only
XN> > XN> appear in some specific parts of the URL.
XN> 
XN> >  But it's probably safe to assume that '!', '?', ',' and '.' can't be the
XN> > last character of an URL, isn't it? This should catch 99% of the problems.
XN> 
XN> I guess so.

 Ok, I've just done this and also added the heuristic detection of the
extensions at the end of the URL taking care of the 2 problems above.
Please let me know about any problems with the URL detection this is
undoubtedly going to create.

 Thanks!
VZ



-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to