Matching Literal Strings
At its core, a regular expression is a pattern describing a set of strings. The simplest pattern is just a sequence of characters that matches itself literally.
In Python, the re module provides methods to perform these matches. The re.search() function scans through a string, looking for the first location where the regular expression produces a match.