Lines Matching refs:pattern
50 * Alone with the pattern that is to be matched, a url scheme prefix is also
51 * required. Any pattern match that does not begin with the supplied scheme
54 * the scheme <code>http://</code>. If the pattern matches example.com, which
155 * support@example.com. So, when matching against a web url pattern you
161 * Examines the character span matched by the pattern and determines
164 * @param s The body of text against which the pattern
167 * matched by the pattern - inclusive
301 * @param pattern Regex pattern to be used for finding links
306 public static final void addLinks(TextView text, Pattern pattern, String scheme) {
307 addLinks(text, pattern, scheme, null, null);
317 * @param p Regex pattern to be used for finding links
322 * additional control over which pattern matches are
341 * @param pattern Regex pattern to be used for finding links
346 public static final boolean addLinks(Spannable text, Pattern pattern, String scheme) {
347 return addLinks(text, pattern, scheme, null, null);
356 * @param p Regex pattern to be used for finding links
361 * additional control over which pattern matches are
429 Spannable s, Pattern pattern, String[] schemes,
431 Matcher m = pattern.matcher(s);