mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-15 04:34:36 +02:00
feat: support dashes in username (#18)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
b322351c11
commit
389924be6e
2 changed files with 4 additions and 1 deletions
3
changelogs/fragments/18-support-dashes-in-username.yml
Normal file
3
changelogs/fragments/18-support-dashes-in-username.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
minor_changes:
|
||||||
|
- command - added support for a dash (``-``) in username (https://github.com/ansible-collections/community.routeros/pull/18).
|
||||||
|
- facts - added support for a dash (``-``) in username (https://github.com/ansible-collections/community.routeros/pull/18).
|
|
@ -47,7 +47,7 @@ class TerminalModule(TerminalBase):
|
||||||
|
|
||||||
terminal_stdout_re = [
|
terminal_stdout_re = [
|
||||||
re.compile(br"\x1b<"),
|
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"Please press \"Enter\" to continue!"),
|
||||||
re.compile(br"Do you want to see the software license\? \[Y\/n\]: ?"),
|
re.compile(br"Do you want to see the software license\? \[Y\/n\]: ?"),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue