From 57257c93db875d9874fdf776e5fae7629ce5c7cd Mon Sep 17 00:00:00 2001 From: rivo nurges Date: Tue, 21 Apr 2015 18:23:07 +0000 Subject: Fix screenos prompt regex --- lib/oxidized/model/screenos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/model/screenos.rb b/lib/oxidized/model/screenos.rb index 922f401..57c7c2f 100644 --- a/lib/oxidized/model/screenos.rb +++ b/lib/oxidized/model/screenos.rb @@ -4,7 +4,7 @@ class ScreenOS < Oxidized::Model comment '! ' - prompt '/^([\w.-\(\)]+->\s?)$/' + prompt /^[\w.\(\)-]+->\s?$/ cmd :all do |cfg| cfg.each_line.to_a[2..-2].join -- cgit v1.2.1