diff options
author | rivo nurges <rivo@surfar.ee> | 2015-04-21 18:23:07 +0000 |
---|---|---|
committer | rivo nurges <rivo@surfar.ee> | 2015-04-21 18:23:07 +0000 |
commit | 57257c93db875d9874fdf776e5fae7629ce5c7cd (patch) | |
tree | c01aa8f5dff07eba7b27341802a245510212eca8 | |
parent | d1ea68e25624fb0a887a741fef49b6d91078b196 (diff) |
Fix screenos prompt regex
-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 |