diff --git a/modules/sed.py b/modules/sed.py index a92b269d..764ef001 100644 --- a/modules/sed.py +++ b/modules/sed.py @@ -27,7 +27,7 @@ class Module(ModuleManager.BaseModule): return regex_flags = 0 - flags = (sed_split[3:] or [""])[0] + flags = (sed_split[3:] or [""])[0].split(" ", 1)[0] count = None last_flag = ""