Background:
I was using the (now deprecated) telnetlib and just moved over to telnetlib3.
Comparing telnetlib with telnetlib3, I see that the function "expect" has been removed and replaced with readuntil. Unfortunately readuntil does not support regular expressions which makes it difficult to use telnetlib3 when you can't exactly predict the return text that you will receive.
Is there an option that regular expressions can be added to e.g. readuntil or to a new function?
Background: I was using the (now deprecated) telnetlib and just moved over to telnetlib3.
Comparing telnetlib with telnetlib3, I see that the function "expect" has been removed and replaced with readuntil. Unfortunately readuntil does not support regular expressions which makes it difficult to use telnetlib3 when you can't exactly predict the return text that you will receive. Is there an option that regular expressions can be added to e.g. readuntil or to a new function?