def METHOD_NAME(self):
    flags = Flags(r"""placeholders:"bar: \"value\"":'baz \'value\''""")
    self.assertEqual(
        flags.get_value("placeholders"), ['bar: "value"', "baz 'value'"]
    )
    self.assertEqual(
        flags.format(), r'''placeholders:"bar: \"value\"":"baz 'value'"'''
    )
    flags = Flags(r'regex:"((?:@:\(|\{)[^\)\}]+(?:\)|\}))"')
    self.assertEqual(flags.format(), r'regex:"((?:@:\(|\{)[^\)\}]+(?:\)|\}))"')