Searched refs:matchStr (Results 1 – 1 of 1) sorted by relevance
303 String matchStr = m.group(); in creatFileForSharedContent() local307 if (Patterns.WEB_URL.matcher(matchStr).matches()) { in creatFileForSharedContent()308 Matcher proto = webUrlProtocol.matcher(matchStr); in creatFileForSharedContent()312 link = proto.group().toLowerCase(Locale.US) + matchStr.substring( in creatFileForSharedContent()317 link = "http://" + matchStr; in creatFileForSharedContent()321 } else if (Patterns.EMAIL_ADDRESS.matcher(matchStr).matches()) { in creatFileForSharedContent()322 link = "mailto:" + matchStr; in creatFileForSharedContent()325 } else if (Patterns.PHONE.matcher(matchStr).matches()) { in creatFileForSharedContent()326 link = "tel:" + matchStr; in creatFileForSharedContent()329 String href = String.format("<a href=\"%s\">%s</a>", link, matchStr); in creatFileForSharedContent()