def METHOD_NAME(self):
    """Test the regex filter.
    """
    fltr = PackageFilter()
    fltr.add_exclusion(RegexRule("timestamped-1.[1|2].*"))
    self._test(
        fltr,
        "timestamped",
        [
            "1.0.5",
            "1.0.6",
            "2.0.0",
            "2.1.0",
            "2.1.5"
        ]
    )