diff options
author | KodApa85 <parsons151185@gmail.com> | 2018-07-22 12:06:01 +0100 |
---|---|---|
committer | Wild Kat <wk@users.noreply.github.com> | 2018-07-22 13:06:01 +0200 |
commit | 868cb6741ad902a1cf4ecff67fc38100f948bcee (patch) | |
tree | 9833992b9608e0fdcdbd1f55b03ef12c0e9a3d4b /lib/oxidized/model/fujitsupy.rb | |
parent | 06705411e28cf747644beb78504c5d2a27713d1c (diff) |
Removed unnecessary/illegal/unsupported escape sequence (#1352)
Diffstat (limited to 'lib/oxidized/model/fujitsupy.rb')
-rw-r--r-- | lib/oxidized/model/fujitsupy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/fujitsupy.rb b/lib/oxidized/model/fujitsupy.rb index 6e8f807..a0614f9 100644 --- a/lib/oxidized/model/fujitsupy.rb +++ b/lib/oxidized/model/fujitsupy.rb @@ -1,5 +1,5 @@ class FujitsuPY < Oxidized::Model - prompt /^(\([\w.-]*\)\s#|^\S+\#\s)$/ + prompt /^(\([\w.-]*\)\s#|^\S+#\s)$/ comment '! ' cmd :all do |cfg| @@ -16,7 +16,7 @@ class FujitsuPY < Oxidized::Model cmd 'show system information' do |cfg| cfg.gsub! /^Current-time : [\w\s:]*$/, '' cfg.gsub! /^(\s{33}\^)$/, '' - cfg.gsub! /^(\% Invalid input detected at '\^' marker.)$/, '' + cfg.gsub! /^(% Invalid input detected at '\^' marker.)$/, '' comment cfg end |