parameters: (self, word)
return_statement: return None
docstring: Match this search pattern against a word (string).
  
          @returns None if the word doesn't match, or the matching stem.
                        If this is a %-less pattern, the stem will always be ''
docstring_summary: Match this search pattern against a word (string).
docstring_tokens: Match this search pattern against a word ( string ) .
function: def match(self, word):
          """
          Match this search pattern against a word (string).
  
          @returns None if the word doesn't match, or the matching stem.
                        If this is a %-less pattern, the stem will always be ''
          """
          d = self.data
          if len(d) == 1:
              if word == d[0]:
                  return word
              return None
  
          d0, d1 = d
          l1 = len(d0)
          l2 = len(d1)
          if len(word) >= l1 + l2 and word.startswith(d0) and word.endswith(d1):
              if l2 == 0:
                  return word[l1:]
              return word[l1:-l2]
  
          return None
function_tokens: def match ( self , word ) : d = self . data if len ( d ) == 1 : if word == d [ 0 ] : return word return None d0 , d1 = d l1 = len ( d0 ) l2 = len ( d1 ) if len ( word ) >= l1 + l2 and word . startswith ( d0 ) and word . endswith ( d1 ) : if l2 == 0 : return word [ l1 : ] return word [ l1 : - l2 ] return None