telnetlib

Ignore special characters when creating a regular expression in python

Ignore special characters when creating a regular expression in python Question: Is there a way to ignore special character meaning when creating a regular expression in python? In other words, take the string “as is”. I am writing code that uses internally the expect method from a Telnet object, which only accepts regular expressions. Therefore, …

Total answers: 1