in reply to Re: Insert colons into a MAC address
in thread Insert colons into a MAC address

Rather than performing the unnecessary capture and replace, you can use \K on perl 5.10.0 and later to just keep the initial match.

s/..\K(?=.)/:/g

See Character Classes and other Special Escapes in perlre.