Internal Test: Uses integer tags to programmatically categorize matches and process them differently in a loop.