Re: Link scanner
Re: Link scanner
- Subject: Re: Link scanner
- From: Max Horn <email@hidden>
- Date: Mon, 3 Dec 2001 22:38:02 +0100
At 14:38 Uhr -0600 03.12.2001, Donald Brown wrote:
Has anyone tried writing a scanner to recognize URLs in a TextView? Not
just http://, but also mailto, and ideally to recognize email@hidden
and www.myweb.com as URLS?
I think there are dozenes of code snipptes on the web doing this,
varying in various degrees of quality regarding the "exactness" of
hits, the efficency and some other aspects.
E.g. take a peek at gtkurl (a single C file)
http://www.bratislav.org/projects/gtkurl.html
Also look at
http://www.geocrawler.com/archives/3/141/1999/11/0/2892944/ for some
nice information on this topic.
Max
--
-----------------------------------------------
Max Horn
Software Developer
email: <
mailto:email@hidden>
phone: (+49) 6151-494890
References: | |
| >Link scanner (From: Donald Brown <email@hidden>) |