diff options
author | ytti <saku@ytti.fi> | 2016-08-28 23:15:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-28 23:15:16 +0300 |
commit | 6332dedddc75e0c44fe2fd19994b5080a7818cd1 (patch) | |
tree | 6f9e93200a53e70d2a89d26f9e56b0adb9df7761 | |
parent | a061b7c1a5fa5b43a3ec8d80acf51cde8cfb6c41 (diff) | |
parent | 9f4cd0105e6cd8a39771d3340e14b7cfca5440e2 (diff) |
Merge pull request #545 from MajesticFalcon/master
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..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?$/ + prompt /\[\w+@\S+(\s?\S+)*\]\s?>\s?$/ comment "# " cmd '/system routerboard print' do |cfg| |