dobot/jquery-linkify — pull request #1 by richid (2012-08-07 03:19:35+00:00)
Title: Improve RegEx for extracting Twitter usernames

I updated the username extraction to use the RegEx Twitter uses in their various twitter-text-[language] libraries. My primary motivation for this was to support extraction where the username is surrounded by other characters, for instance [@richid] and "@richid". This RegEx also supports list extraction as well which I think is a nice feature. I've also added a couple tests to cover the broadened scope.

Here is where I snagged the RegEx from:
https://github.com/twitter/twitter-text-js/blob/master/twitter-text.js#L217

Thanks for the plugin and let me know what you think!