VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   Keylist regular expression for cisco show command (https://forums.vandyke.com/showthread.php?t=11906)

slouw 03-15-2015 03:44 PM

Keylist regular expression for cisco show command
 
Hi There
This regex works to highlight the prompt of a device and the first letters of a command until the first space as you can see.
I want the regex to highlight the entire line.
Should this regex do that?
Is there an alternative that can do this?
So in the example we have
Hostname#show inventory
I want
Hostname#show inventory

Many thanks for any reply

http://content.screencast.com/users/...2015-07.42.png

rtb 03-16-2015 07:59 AM

Hi slouw,

Currently, regular expression support for keyword highlighting does not support spaces/phrases. We will post to this thread if we add support for spaces/phrases in the future.

If you would like to be notified directly, please complete and submit the form at the following location:
Submit Feature Request
As a workaround, you could create two regular expressions or keywords. I realize that this may result in false hits, but it may help.

Maureen 12-17-2019 05:47 PM

The ability to use spaces in keywords (including regular expressions) has been added to SecureCRT 8.7, which is currently in beta testing. It can be downloaded here.
Maureen


All times are GMT -6. The time now is 03:48 PM.