Patterns are also called regular expressions. Perl gives us an elaborate syntax for writing regular expressions. We start with the simplest and then slowly build up to complex expressions.