tolerate additional words after a fully-formed sed

This commit is contained in:
jesopo 2019-12-01 08:06:44 +00:00
parent 728ea019aa
commit 96058a1761

View file

@ -27,7 +27,7 @@ class Module(ModuleManager.BaseModule):
return return
regex_flags = 0 regex_flags = 0
flags = (sed_split[3:] or [""])[0] flags = (sed_split[3:] or [""])[0].split(" ", 1)[0]
count = None count = None
last_flag = "" last_flag = ""