diff --git a/components/efuse/efuse_table_gen.py b/components/efuse/efuse_table_gen.py index 11252c5681..498f50721d 100755 --- a/components/efuse/efuse_table_gen.py +++ b/components/efuse/efuse_table_gen.py @@ -439,7 +439,7 @@ class FuseDefinition(object): str(self.get_bit_count()) + '}, \t // ' + self.comment]) def get_alt_names(self): - result = re.search(r'\[(.*?)\]', self.comment) + result = re.search(r'^\[(.*?)\]', self.comment) if result: return result.group(1).split() return []