Regular expressions in Ruby are multi-line by default and if you don’t know that, it might lead to unexpected behavior and security issues. In this article we go over a HackTheBox challenge to demonstrate how it could lead to a vulnerability.