feat: support dashes in username (#18)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Egor Zaitsev 2020-12-24 14:46:05 +03:00 committed by GitHub
parent b322351c11
commit 389924be6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -47,7 +47,7 @@ class TerminalModule(TerminalBase):
terminal_stdout_re = [
re.compile(br"\x1b<"),
re.compile(br"\[[\w\.]+\@[\w\s\-\.\/]+\] ?> ?$"),
re.compile(br"\[[\w\-\.]+\@[\w\s\-\.\/]+\] ?> ?$"),
re.compile(br"Please press \"Enter\" to continue!"),
re.compile(br"Do you want to see the software license\? \[Y\/n\]: ?"),
]