Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bad regex on length of "Metasploit" string
It won't match a char because it's a newline. While sticking "m" on the end of the regex would work, there is zero reason we can't hardcode the length, since the string is fixed. irb(main):001:0> /.hi/ =~ "\nhi" => nil irb(main):002:0> /.hi/m =~ "\nhi" => 0 irb(main):003:0>
- Loading branch information