destinygg/website — pull request #19 by xtphty (2013-07-26 03:33:08+00:00)
Title: IP address validation added to link regex

link regex will now only match a valid ipv4 address

Also did some cleanup to the regex' replace callback and grouping.

updated fiddle: http://jsfiddle.net/GMzGy/28/