Added clarifying comments to demonstrate regex patterns