From 9f4cd0105e6cd8a39771d3340e14b7cfca5440e2 Mon Sep 17 00:00:00 2001 From: MajesticFalcon Date: Sun, 28 Aug 2016 12:44:14 -0500 Subject: Changing {0,} -> * --- 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 216252a..fc96512 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+){0,}\]\s?>\s?$/ + prompt /\[\w+@\S+(\s?\S+)*\]\s?>\s?$/ comment "# " cmd '/system routerboard print' do |cfg| -- cgit v1.2.1