Case-insensitive matching on urls.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4514 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -228,6 +228,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 =
|
||||||
new RegExp("(http|https|ftp)://\\S+");
|
new RegExp("(http|https|ftp)://\\S+", "i");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user