code: function tokenize(content, rules = parseOrder) {
      let data = []
      if(content) {
          let lines = content.split(/(\r\n|\n)/)
          for (let idx = 0; idx < lines.length; idx++) {
              for (let i = 0; i < lines[idx].length;) {
                  let chunk = lines[idx].slice(i)
                  let match = rules.some(item => {
                      if (item.pattern.test(chunk)) {
                          let matchObject = chunk.match(item.pattern)
                          i += matchObject[0].length
                          data.push([ item.label, matchObject[0] ])
                          return true
                      }
                  })
                  if (!match) {
                      data.push([ UNKNOWN, chunk[i] ])
                      i++
                  }
              }
          }
      }
      return data
  }
docs: 将文本按照规则解析
  目前rules只有解析超链接，暂不支持带中文的超链接
  @param content，rules