diff options
Diffstat (limited to 'lib/oxidized/model/screenos.rb')
-rw-r--r-- | lib/oxidized/model/screenos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |