parameters: (self, description)
return_statement: return rules
docstring: Check to see if the provided description string matches an extract rule.
          Called internally by self.extract().
  
          @description - Description string to check.
  
          Returns the associated rule dictionary if a match is found.
          Returns None if no match is found.
docstring_summary: Check to see if the provided description string matches an extract rule.
          Called internally by self.extract().
docstring_tokens: Check to see if the provided description string matches an extract rule . Called internally by self . extract () .
function: def match(self, description):
          '''
          Check to see if the provided description string matches an extract rule.
          Called internally by self.extract().
  
          @description - Description string to check.
  
          Returns the associated rule dictionary if a match is found.
          Returns None if no match is found.
          '''
          rules = []
          description = description.lower()
  
          for rule in self.extract_rules:
              if rule['regex'].search(description):
                  rules.append(rule)
          return rules
function_tokens: def match ( self , description ) : rules = [ ] description = description . lower ( ) for rule in self . extract_rules : if rule [ 'regex' ] . search ( description ) : rules . append ( rule ) return rules