code: def search(self, string, pos=0, endpos=None, evaluate_result=True):
          '''Search the string for my format.
  
          Optionally start the search at "pos" character index and limit the
          search to a maximum index of endpos - equivalent to
          search(string[:endpos]).
  
          If the ``evaluate_result`` argument is set to ``False`` a
          Match instance is returned instead of the actual Result instance.
  
          Return either a Result instance or None if there's no match.
          '''
          if endpos is None:
              endpos = len(string)
          m = self._search_re.search(string, pos, endpos)
          if m is None:
              return None
  
          if evaluate_result:
              return self.evaluate_result(m)
          else:
              return Match(self, mf search(self, string, pos=0, endpos=None, evaluate_result=True):
          '''Search the string for my format.
  
          Optionally start the search at "pos" character index and limit the
          search to a maximum index of endpos - equivalent to
          search(string[:endpos]).
  
          If the ``evaluate_result`` argument is set to ``False`` a
          Match instance is returned instead of the actual Result instance.
  
          Return either a Result instance or None if there's no match.
          '''
          if endpos is None:
              endpos = len(string)
          m = self._search_re.search(string, pos, endpos)
          if m is None:
              return None
  
          if evaluate_result:
              return self.evaluate_result(m)
          else:
              return Match(self, m)
docs: Search the string for my format.
  
          Optionally start the search at "pos" character index and limit the
          search to a maximum index of endpos - equivalent to
          search(string[:endpos]).
  
          If the ``evaluate_result`` argument is set to ``False`` a
          Match instance is returned instead of the actual Result instance.
  
          Return either a Result instance or None if there's no match.