From c29a7b007b51c505236d76fa33b3d99bd9d38290 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Wed, 23 May 2007 21:21:06 +0000 Subject: [PATCH] Um. I'm not sure what I was thinking: we'll never want to auto-recognize command:// urls in text. In the places where we'll use them we'll format things ourselves. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4719 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/StringUtil.as | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/as/com/threerings/util/StringUtil.as b/src/as/com/threerings/util/StringUtil.as index da446b21f..96a313612 100644 --- a/src/as/com/threerings/util/StringUtil.as +++ b/src/as/com/threerings/util/StringUtil.as @@ -237,7 +237,6 @@ public class StringUtil /** A regular expression that finds URLs. */ protected static const URL_REGEXP :RegExp = - // recognize some standard protocols, plus 'command', which we use internally - new RegExp("(http|https|ftp|command)://\\S+", "i"); + new RegExp("(http|https|ftp)://\\S+", "i"); } }