def METHOD_NAME(self):
    flags = Flags("placeholders:r")
    self.assertEqual(flags.get_value("placeholders"), ["r"])
    flags = Flags("placeholders:r:r")
    self.assertEqual(flags.get_value("placeholders"), ["r", "r"])
    flags = Flags("placeholders:r,r")
    self.assertEqual(flags.get_value("placeholders"), ["r"])
    flags = Flags('placeholders:r".*"')
    values = flags.get_value("placeholders")
    self.assertEqual(len(values), 1)
    self.assertEqual(values[0].pattern, ".*")
    self.assertEqual(flags.format(), 'placeholders:r".*"')