Community
Buy or Renew
EN US
Chinese
EN US
French
Japanese
Korean
Portuguese
Spanish
Log In
MENU
CLOSE
Buy or Renew
Log In
EN US
Chinese
EN US
French
Japanese
Korean
Portuguese
Spanish
bicycan
Beginner
Member since
09-02-2022
09-10-2022
Recent Badges
Awards
User Statistics
1
Posts
0
Solutions
0
Helpful votes Given
0
Helpful votes Received
Recent Badges
See all
Cisco Community
About bicycan
Please click
here
to merge your Webex community account with this Cisco.com community account
User Activity
Posts
Replies
tcl期望正则表达式不工作?
09-02-2022
我正在尝试使用不同类型的网络设备,但我不能使用更复杂的正则表达式。对于思科设备,我有:expect {"*>"}*工作正常但是对于Fortinet设备,我想这样做expect {"^[a-zA-Z0-9_.-\s]+[#]"}但它不起作用。我检查了一个REGEX“检查器”,以确保表达式是正确的,并且它似乎可以工作。所以基本上,我想过滤掉以"NAME_OF_DEVICE #“开头的行,因为当您第一次连接Fortinet shell时,它就是这样的你知道为什么它不能工作吗?
No replies to display.
Community Statistics
Member Since
09-02-2022
08:10 AM
Date Last Visited
09-10-2022
11:01 PM
Posts
1