How to use Regex without Case Sensitive (wodSSH / wodSSH.NET)

by Grant Collingwood @, (5364 days ago)

Hi, can you tell me how we should use regex: to be case insensitive. Eg say I want to set the prompt to recognise Password: or password: how do I do the following:
Ssh1.Prompt = regex:Password:

locked

Re: How to use Regex without Case Sensitive

by wodDamir @, (5364 days ago) @ Grant Collingwood

Hi Grant,

Did you try simply setting it to regex:password|Password ?

Regards,
Damba

locked

Re: How to use Regex without Case Sensitive

by Grant Collingwood @, (5364 days ago) @ wodDamir

Hi Grant,

Did you try simply setting it to regex:password|Password ?

Regards,
Damba

Thanks, that seems to work

locked