We know that when we feed our program or application a regular expression, we're trying to get it to match against some other given text. But how does this matching happen? What is the regex doing as it reads through all our characters and metacharacters? And how are the algorithms happening behind the scenes? In this lesson, we take a peek behind the curtain and look at how our expressions work.