code: def searchbyno(self, no):
          
          pattern = re.compile(str(no))
          result = {}
          for i in self.__allstockno:
              query = re.search(pattern, str(i))
              if query:
                  query.group()
                  result[i] = self.__allstockno[i]
          return result
docs: 搜尋股票代碼
  
              :param str no: 欲搜尋的字串
              :rtype: dict