def match_expr(self, expr):
        """Matches a regular expression against the subtitles of the clip."""
        return SubtitlesClip(
            [sub for sub in self.subtitles if re.findall(expr, sub[1]) != []]
        )
Matches a regular expression against the subtitles of the clip.
moviepy/video/tools/subtitles.py