summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMajesticFalcon <Schylarutley@hotmail.com>2016-08-28 12:04:53 -0500
committerGitHub <noreply@github.com>2016-08-28 12:04:53 -0500
commit97cb2fdaa9e6400d94e90dee024cac0aa62465bf (patch)
treebfbf5e0af81a047698a59d7f2b6a363ebc04218c
parentfa8e95e441a8e2636261642f25caa37f578ce8c4 (diff)
Add more extensive pattern matching
-rw-r--r--lib/oxidized/model/routeros.rb2
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|