question: private Spannable highlightHashtags ( Spannable text ) { if ( text == null ) { return null ; } final Matcher matcher = PATTERN_HASHTAGS . matcher ( text ) ; while ( matcher . find ( ) ) { final int start = matcher . start ( 1 ) ; final int end = matcher . end ( 1 ) ; text . setSpan ( new ForegroundColorSpan ( mHighlightColor ) , start , end , Spanned . SPAN_EXCLUSIVE_EXCLUSIVE ) ; text . setSpan ( new StyleSpan ( android . graphics . Typeface . BOLD ) , start , end , Spanned . SPAN_EXCLUSIVE_EXCLUSIVE ) ; } return text ; }
target:  Highlights all the hashtag in the passed text.