diff --git a/modules/rpgmakermvmz.py b/modules/rpgmakermvmz.py index e9bc1a2..b0eabea 100644 --- a/modules/rpgmakermvmz.py +++ b/modules/rpgmakermvmz.py @@ -2094,7 +2094,7 @@ def subVars(jaString): # Formatting count = 0 - formatList = re.findall(r'^[\\]+[\w]+\[[a-zA-Z0-9\\\[\]\_,\s-]+\]', jaString) + formatList = re.findall(r'[\\]+[\w]+\[[a-zA-Z0-9\\\[\]\_,\s-]+\]', jaString) formatList = set(formatList) if len(formatList) != 0: for var in formatList: