parseContent(rawText) {
    const matches = rawText.trim().split(/\s+/)

    const processedText = matches.map((text) => {
      if (text.match(/^(#[a-z]{1})([a-z0-9_]+)$/ig)) {
        return (
          <Text style={[
            BaseStyles.textPrimary
          ]} onPress={() => this.onTagPress(text)}>
            {text}
          </Text>
        )
      } else if (text.match(/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/ig)) {
        return (
          <Text style={[
            BaseStyles.textPrimary
          ]} onPress={() => this.onUrlPress(text)}>
            {text}
          </Text>
        )
      } else {
        return (
          <Text>{text} </Text>
        )
      }
    })

    return processedText
  }
/**
   * Parses description for tags and urls and makes them clickable
   *
   * @param {string} rawText - description to parse
   * @return {object}
   */
Parses description for tags and urls and makes them clickable
@param {string} rawText - description to parse
@return {object}
Parses description for tags and urls and makes them clickable @param { string } rawText - description to parse @return { object }
parseContent(rawText) {
    const matches = rawText.trim().split(/\s+/)
    const processedText = matches.map((text) => {
      if (text.match(/^(#[a-z]{1})([a-z0-9_]+)$/ig)) {
        return (
          <Text style={[
            BaseStyles.textPrimary
          ]} onPress={() => this.onTagPress(text)}>
            {text}
          </Text>
        )
      } else if (text.match(/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/ig)) {
        return (
          <Text style={[
            BaseStyles.textPrimary
          ]} onPress={() => this.onUrlPress(text)}>
            {text}
          </Text>
        )
      } else {
        return (
          <Text>{text} </Text>
        )
      }
    })
    return processedText
  }
parseContent ( rawText ) { const matches = rawText . trim ( ) . split ( / \s+ / ) const processedText = matches . map ( ( text ) => { if ( text . match ( / ^(#[a-z]{1})([a-z0-9_]+)$ / ig ) ) { return ( < Text style = { [ BaseStyles . textPrimary ] } onPress = { ( ) => this . onTagPress ( text ) } > { text } < / Text > ) } else if ( text . match ( / ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$ / ig ) ) { return ( < Text style = { [ BaseStyles . textPrimary ] } onPress = { ( ) => this . onUrlPress ( text ) } > { text } < / Text > ) } else { return ( < Text > { text } < / Text > ) } } ) return processedText }
Parses description for tags and urls and makes them clickable
 @param {string} rawText - description to parse
 @return {object}
Parses description for tags and urls and makes them clickable @param { string } rawText - description to parse @return { object }