Perl Regex named capture variables

Simple example to extract, protocol, server and domain from a given URL:

Our Result: