MinecraftForge/MinecraftForge — pull request #1491 by killjoy1221 (2014-11-09 21:29:56+00:00)
Title: Fix MC-30864 (sending web links in chat)

Now with significantly more spaces.

My last PR (#1489) is unable to be reopened.

This uses regex to detect urls when a player chats. It will find all urls no matter where they are in the message. It will also find ipv4 addresses, but it doesn't guarantee they will be valid.

The regex string is based off the one craftbukkit used.