Closed AlainMoretti closed 7 years ago
NXOS driver does not work when colored prompt is used because the prompt regex does not match special characters.
Maybe line 128 of Cisco_NX-OS.js should be : prompt: /([A-Za-z-_0-9.]+#) /, instead of : prompt: /^([A-Za-z-_0-9.]+#) $/,
Regex max match rule should keep whole hostname inside brackets.
Thanks for the comment.
NXOS driver does not work when colored prompt is used because the prompt regex does not match special characters.
Maybe line 128 of Cisco_NX-OS.js should be : prompt: /([A-Za-z-_0-9.]+#) /, instead of : prompt: /^([A-Za-z-_0-9.]+#) $/,
Regex max match rule should keep whole hostname inside brackets.