'Comparison against other regular expression string values.'

def __eq__(self, other):

    if isinstance(other, _RegexStrValue):
        return (self.__BuildRegex() == other.__BuildRegex())
    return (str(self) == other)
