From 97cb2fdaa9e6400d94e90dee024cac0aa62465bf Mon Sep 17 00:00:00 2001 From: MajesticFalcon Date: Sun, 28 Aug 2016 12:04:53 -0500 Subject: Add more extensive pattern matching --- lib/oxidized/model/routeros.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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| -- cgit v1.2.1