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
This commit is contained in:
@@ -237,7 +237,6 @@ public class StringUtil
|
|||||||
|
|
||||||
/** A regular expression that finds URLs. */
|
/** A regular expression that finds URLs. */
|
||||||
protected static const URL_REGEXP :RegExp =
|
protected static const URL_REGEXP :RegExp =
|
||||||
// recognize some standard protocols, plus 'command', which we use internally
|
new RegExp("(http|https|ftp)://\\S+", "i");
|
||||||
new RegExp("(http|https|ftp|command)://\\S+", "i");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user