def METHOD_NAME(self):
    self.assertEqual(list(util.find_escaped_pattern_fields(r'a.b.c.d')), [])
    self.assertEqual(list(util.find_escaped_pattern_fields(r'a\*.b.c.d')), [0])
    self.assertEqual(list(util.find_escaped_pattern_fields(r'a.b.\[c].d')), [2])