Fix regex for hex numbers
Allow negative values for OptInt

[FixRM #7540]
Merge branch 'bug/opt_int_hex' of github.com:jlee-r7/metasploit-framework into jlee-r7-bug/opt_int_hex