Regular Expressions 101

Community Patterns

HP OO Shell OPeration

1

Regular Expression
PCRE (PHP <7.3)

Description

I am trying to capture from HP OO SSH shell operation, basicall it will run the commands what we send from HP OO and this operation expects return output to send next command.

I am trying to send command gtacl and next command is LOGON username, OO expects to match string to send another command, the expected output is TACL 1> and i trying to use regex as ^TACL\s\d>, it is working in regex site but it is falling in OO tool, can you please suggest some thing.

Submitted by Lokesh - 9 years ago