TruerWords Logo

Search TruerWords

Sign Up  Log On

“Updated Page of URL-Detecting Regular Expressions”

From: Seth Dillingham In Response To: Top of Thread.  
Date Posted: Tuesday, November 29, 2005 8:52:06 PM Replies: 0
Enclosures: None.

Three years ago I posted a description of the regular expressions we use in Conversant for detecting URLs in text (like message bodies), so that they can be turned into links.

That page has been fairly popular (based on the number of hits, and considering that it's one of the most boring topics in the universe). It's in the top 10% of my pages, anyway.

Brian and I were complaining about a URL-detecting bug in Adium this afternoon, and I'm constantly annoyed by a larger URL-detection bug in Mailsmith, so I decided to update that page with all of the changes we've made in the last three years. Maybe someone will see it, learn something from it, and the world will benefit in some small way. (Yes! World peace through regular expressions!)

I don't know of any bugs in these regular expressions (that doesn't mean there aren't any). They've improved a lot over the years.

Discussion Thread:

There are no replies.


There are no trackbacks.

is Seth Dillingham's
personal web site.
Truer words were never spoken.