diff options
author | Saku Ytti <saku@ytti.fi> | 2014-03-28 10:54:50 +0200 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-03-28 10:54:50 +0200 |
commit | 74403bf13f3a7372717f4fd15dbd76219347de3d (patch) | |
tree | e7edfb410769b96ba97e2e8411e2520013e4d30d /lib | |
parent | b7774f5aae4880662412e4a845f5302413f9245d (diff) |
\w contains \d and _
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/procurve.rb | 2 |
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 '! ' |