diff --git a/qsgen2 b/qsgen2 index ff61671..7abb296 100755 --- a/qsgen2 +++ b/qsgen2 @@ -881,7 +881,7 @@ def replace_qstags(match): pattern = r'#\w+' # Replace QStags using the defined function -result = re.sub(pattern, replace_qstags, '''$content''') +result = re.sub(pattern, replace_qstags, '''$content''', flags=re.MULTILINE) print(result) EOF