Regular Expressions (Grouped)
See how a regular expression is constructed and matched. The example also shows the comparison between creating a regular expression object before matching, versus matching a "new" regular expression every iteration. See also :ref:`regexp_ungrouped_example`.
Below is the generated image from the code above. If you're having issues with the image below, try the :download:`direct link to image <regexp_grouped.png>`.