def METHOD_NAME(self):
    """Test CURIE pattern.
    .. seealso:: https://github.com/biopragmatics/bioregistry/issues/245
    """
    self.assertEqual("^chebi:\\d+$", bioregistry.get_curie_pattern("chebi"))
    self.assertEqual("^CHEBI:\\d+$", bioregistry.get_curie_pattern("chebi", use_preferred=True))
    self.assertEqual(
        "^chembl\\.compound:CHEMBL\\d+$", bioregistry.get_curie_pattern("chembl.compound")
    )
    pattern = bioregistry.get_curie_pattern("panther.pthcmp")
    self.assertRegex("panther.pthcmp:P00266", pattern)
    self.assertNotRegex("pantherXpthcmp:P00266", pattern)