parameters: (self, rhs)
return_statement: return self.regex.search(rhs) is not None
docstring: Check to see if rhs matches regular expression pattern.
  
      Returns:
        bool
docstring_summary: Check to see if rhs matches regular expression pattern.
docstring_tokens: Check to see if rhs matches regular expression pattern .
function: def equals(self, rhs):
      """Check to see if rhs matches regular expression pattern.
  
      Returns:
        bool
      """
  
      return self.regex.search(rhs) is not None
function_tokens: def equals ( self , rhs ) : return self . regex . search ( rhs ) is not None