def METHOD_NAME(self):
    flags = Flags("regex:.*")
    regex = flags.get_value("regex")
    self.assertEqual(regex.pattern, ".*")
    flags = Flags('regex:r".*"')
    regex = flags.get_value("regex")
    self.assertEqual(regex.pattern, ".*")