以下是内容:router eigrp 1 redistribute ospf 14 route-map test2 redistribute static vrf Automation autonomous-system 52 exec-timeout 5 default router ospf 14 router-id 1.1.1.1 area 0.0.0.25 nssa redistribute static route-map test1 redistribute eigrp 10 route-map test2 area 0.0.0.0 range 10.10.10.0/24 area 0.0.0.0 authentication message-digest area 0.0.0.25 authentication message-digest log-adjacency-changes maximum-paths 8 auto-cost reference-bandwidth 10 Gbps
需要帮助与regex,以捕获第一部分的eigrp,从路由器eigrp和捕获任何缩进的任何空间或4个空格。第二部分从路由器ospf开始也是一样的。greedy=yes。谢谢!
发布于 2018-12-02 17:43:58
您可以使用以下正则表达式与多线标志相结合:
https://stackoverflow.com/questions/53582455
复制相似问题