Added regex to recognize prompt (#31947)
This commit is contained in:
parent
4ffd60a406
commit
531d6c50bf
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ class TerminalModule(TerminalBase):
|
|||
|
||||
terminal_stdout_re = [
|
||||
re.compile(br"[\r\n]?[\w]*\(.+\) ?#(?:\s*)$"),
|
||||
re.compile(br"[pP]assword:$")
|
||||
re.compile(br"[pP]assword:$"),
|
||||
re.compile(br"(?<=\s)[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?\s*#\s*$"),
|
||||
]
|
||||
|
||||
terminal_stderr_re = [
|
||||
|
|
Loading…
Reference in a new issue