Public Member Functions | |
def | __init__ (self, pattern, flags=0) |
def | __init__ (self, pattern, flags=0) |
def | __repr__ (self) |
def | __repr__ (self) |
def | equals (self, rhs) |
def | equals (self, rhs) |
![]() | |
def | __eq__ (self, rhs) |
def | __eq__ (self, rhs) |
def | __ne__ (self, rhs) |
def | __ne__ (self, rhs) |
Public Attributes | |
regex | |
Checks if a string matches a regular expression. This uses a given regular expression to determine equality.
Definition at line 904 of file bloaty/third_party/protobuf/python/mox.py.
def mox.Regex.__init__ | ( | self, | |
pattern, | |||
flags = 0 |
|||
) |
Initialize. Args: # pattern is the regular expression to search for pattern: str # flags passed to re.compile function as the second argument flags: int
Definition at line 910 of file bloaty/third_party/protobuf/python/mox.py.
def mox.Regex.__init__ | ( | self, | |
pattern, | |||
flags = 0 |
|||
) |
Initialize. Args: # pattern is the regular expression to search for pattern: str # flags passed to re.compile function as the second argument flags: int
Definition at line 910 of file protobuf/python/mox.py.
def mox.Regex.__repr__ | ( | self | ) |
Definition at line 931 of file bloaty/third_party/protobuf/python/mox.py.
def mox.Regex.__repr__ | ( | self | ) |
Definition at line 931 of file protobuf/python/mox.py.
def mox.Regex.equals | ( | self, | |
rhs | |||
) |
Check to see if rhs matches regular expression pattern. Returns: bool
Reimplemented from mox.Comparator.
Definition at line 922 of file protobuf/python/mox.py.
def mox.Regex.equals | ( | self, | |
rhs | |||
) |
Check to see if rhs matches regular expression pattern. Returns: bool
Reimplemented from mox.Comparator.
Definition at line 922 of file bloaty/third_party/protobuf/python/mox.py.
mox.Regex.regex |
Definition at line 920 of file bloaty/third_party/protobuf/python/mox.py.