in share/multiline.py [0:0]
def __eq__(self, other: object) -> bool:
if not isinstance(other, WhileMultiline):
return False
return (
self._pattern == other._pattern
and self._negate == other._negate
and self._max_bytes == other._max_bytes
and self._max_lines == self._max_lines
and self._skip_newline == self._skip_newline
)