summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-03-28 10:54:50 +0200
committerSaku Ytti <saku@ytti.fi>2014-03-28 10:54:50 +0200
commit74403bf13f3a7372717f4fd15dbd76219347de3d (patch)
treee7edfb410769b96ba97e2e8411e2520013e4d30d /lib/oxidized
parentb7774f5aae4880662412e4a845f5302413f9245d (diff)
\w contains \d and _
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/procurve.rb2
1 files changed, 1 insertions, 1 deletions
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 '! '