From fff613dd3eaec2fcf1eb09e66feb358476bbb4cd Mon Sep 17 00:00:00 2001 From: Egor Zaitsev Date: Thu, 9 Jan 2020 07:04:47 +0300 Subject: [PATCH] =?UTF-8?q?routeros=5Fcommand=20=E2=80=93=20add=20support?= =?UTF-8?q?=20for=20dot=20in=20username=20(#65905)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ansible/plugins/terminal/routeros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/terminal/routeros.py b/lib/ansible/plugins/terminal/routeros.py index c5c4d9d000e..78996f28aaa 100644 --- a/lib/ansible/plugins/terminal/routeros.py +++ b/lib/ansible/plugins/terminal/routeros.py @@ -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\]: ?"), ]