We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac1908 commit 3f8ee86Copy full SHA for 3f8ee86
lib/msf/core/opt_int.rb
@@ -21,7 +21,7 @@ def normalize(value)
21
22
def valid?(value, check_empty: true)
23
return false if check_empty && empty_required_value?(value)
24
- return false if value.present? && !value.to_s.match?(/^0x[0-9a-fA-F]+$|^-?\d+$/)
+ return false if value.present? && !value.to_s.match(/^0x[0-9a-fA-F]+$|^-?\d+$/)
25
super
26
end
27
0 commit comments