diff options
author | MajesticFalcon <Schylarutley@hotmail.com> | 2016-08-28 12:04:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-28 12:04:53 -0500 |
commit | 97cb2fdaa9e6400d94e90dee024cac0aa62465bf (patch) | |
tree | bfbf5e0af81a047698a59d7f2b6a363ebc04218c | |
parent | fa8e95e441a8e2636261642f25caa37f578ce8c4 (diff) |
Add more extensive pattern matching
-rw-r--r-- | lib/oxidized/model/routeros.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/routeros.rb b/lib/oxidized/model/routeros.rb index 4822500..216252a 100644 --- a/lib/oxidized/model/routeros.rb +++ b/lib/oxidized/model/routeros.rb @@ -1,5 +1,5 @@ class RouterOS < Oxidized::Model - prompt /\[\w+@\S+\]\s?>\s?$/ + prompt /\[\w+@\S+(\s?\S+){0,}\]\s?>\s?$/ comment "# " cmd '/system routerboard print' do |cfg| |