code: def _snip_whitespace(
              self,
              text):
          
          self.log.debug('starting the ``_snip_whitespace`` method')
  
          m = self.reWS.match(text)
  
          prefix = m.group(1)
          text = m.group(2)
          suffix = m.group(3)
  
          self.log.debug('completed the ``_snip_whitespace`` method')
          return prefix, text, suffix
docs: *snip the whitespace at the start and end of the text*
  
          **Key Arguments:**
              - ``text`` -- the text to snip
  
          **Return:**
              - ``prefix``, ``text``, ``suffix`` -- the starting whitespace, text and endding whitespace