Can someone confirm my regex for a Net::Telnet prompt? I need to match a command prompt like 'any text->'
What I have is this:
prompt => '/[\w().-]*\(?([\w.-])?\)?\s*->\s$/'Looks correct to me, but trying to set that prompt is throwing an error in Net::Telnet for some reason
In reply to Regex check by spivey49
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |