
Public Member Functions | |
| def | __init__ (self, pattern, flags=0) |
| def | __repr__ (self) |
| def | equals (self, rhs) |
Public Member Functions inherited from mox.Comparator | |
| def | __eq__ (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.
| def mox.Regex.__init__ | ( | self, | |
| pattern, | |||
flags = 0 |
|||
| ) |
| def mox.Regex.equals | ( | self, | |
| rhs | |||
| ) |
Check to see if rhs matches regular expression pattern. Returns: bool
Reimplemented from mox.Comparator.