diaspora/diaspora — pull request #3645 by Raven24 (2012-10-09 22:13:51+00:00)
Title: replace the monstrous link regex with a slightly less complicated one

It appears the v8 JS engine is optimizing regexes not to the same level as the SpiderMonkey engine...
should fix #3553

PLEASE TEST ME!
I can only think of so many possible link combinations with and without Markdown syntax. Please test this with a live system or at least with a bunch of made-up and/or real-life links, if you have the possibility.