...

/

Compiling

Compiling

Let's figure out how we can compile the expression using re module.

The re module allows us to “compile” the expressions that we are searching for frequently. This will basically allow us to turn our expression into a SRE_Pattern object. We can then use that ...