Return whether input matches regex of url. 返回输入是否匹配url的正则表达式。
bool isURL(String input) { return matches(RegexConstants.REGEX_URL, input); }