Fixed RUF039 (unraw-re-pattern)

This commit is contained in:
Teal Dulcet
2025-06-20 02:39:59 -07:00
parent e73771be5f
commit eae0db9df1
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -408,7 +408,7 @@ class BashScript(Grammar):
string = re.sub(".* #NODOC\n", "", string)
string = re.sub("\n\s*if .*then.*|\n\s*fi|\n\s*else|\n\s*elif .*", "", string)
string = quasitokenize(string)
string = re.sub("hide_output ", "", string)
string = re.sub(r"hide_output ", "", string)
parser = BashScript.parser()
result = parser.parse_string(string)