On 17 Feb 2009, at 17:56, mikelietz wrote:

> Thanks for this, Florian, but I'm having one problem with it - it
> doesn't seem to get rid of punctuation. So if the update is:
>
> @florian What links to #habari? What about http://habariproject.org?
>
> the links have the question marks in them.

Having quite comprehensively having spammed Twitter, their  
linkification does the following:

+-----------------------------------------------------------------+
| URI                            | Linked To                      |
+--------------------------------+--------------------------------+
| http://example.com/            | http://example.com/            |
| http://example.com/foobar/     | http://example.com/foobar/     |
| http://www.詹姆斯.com/          | http://www.詹姆 
斯.com/          |
| http://[::1]/                  |                                |
| http://example.com/foo?bar#lol | http://example.com/foo?bar#lol |
| ftp://example.com              |                                |
| http://example.com1            | http://example.com1            |
| http://example.com.            | http://example.com             |
| http://example.com?            | http://example.com             |
| http://example.com/foobar?     | http://example.com/foobar      |
| http://example.com#            | http://example.com#            |
| http://example.com:            | http://example.com             |
| http://example.com:80          | http://example.com:80          |
| http://foo;bar.com/            | http://foo                     |
| http://ex&mple.com             | http://ex                      |
| http://example.com";            | http://example.com             |
| http://example.com!            | http://example.com             |
| http://example.com$            | http://example.com             |
| http://example.com&;            | http://example.com             |
| http://example.com'            | http://example.com             |
| http://example.com(            | http://example.com             |
| http://example.com)            | http://example.com             |
| http://example.com*            | http://example.com             |
| http://example.com+            | http://example.com             |
| http://example.com,            | http://example.com             |
| http://example.com=            | http://example.com             |
| http://ex%60mple.com           | http://ex                      |
| HtTp://eXaMpLe.CoM             |                                |
| http://EXAMPLE.COM             | http://example.com             |
| HTTP://EXAMPLE.COM             |                                |
+--------------------------------+--------------------------------+

--
Geoffrey Sneddon
<http://gsnedders.com/>


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to