From 74403bf13f3a7372717f4fd15dbd76219347de3d Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Fri, 28 Mar 2014 10:54:50 +0200 Subject: \w contains \d and _ --- lib/oxidized/model/procurve.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/model/procurve.rb b/lib/oxidized/model/procurve.rb index 9654806..15ff8f4 100644 --- a/lib/oxidized/model/procurve.rb +++ b/lib/oxidized/model/procurve.rb @@ -1,7 +1,7 @@ class Procurve < Oxidized::Model # FIXME: this is way too unsafe - prompt /.*?([\w\d_]+# ).*/m + prompt /.*?(\w+# ).*/m comment '! ' -- cgit v1.2.1