regular expression with alternative metacharacter (General questions)
Has any one try to use regex: in Execute or WaitFor of WodSSH with alternative metacharacter (|), for example:
regex:aaa|bbb --> matches aaa or bbb
wodssh uses pcre lib that is in accordance with perl 5 regular expression.
But such above pattern does not work.
Thanks,
Re: regular expression with alternative metacharac
Hi Eiji,
Are you sure that this doesn't work? Seems that this works for me:
[code]wodSSH1.WaitFor ( regex:aaa|bbb )[/code]
Let us know how it goes.
Regards,
Drazen